• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Free Password Generator

DaCurryman

Golden Member
I need to create password for my user's FTP accounts. I know I could just make something up, but I'd rather just have a random password generator come up with solutions. I'm looking for something that provides options for password length, mixed character case (upper & lower), alphanumeric options, etc.

Bulletproof FTP server used to do this for me, but I've switched to Serv-U, so I need one now. A lot of the stuff I'm finding is not freeware and is limited to 30-day trials, so a completely free option is something I want. I also need to be able to copy/paste from the application.

Thanks in advance for any help.
 
There are a number of extensions for firefox that can do this. Or spend two minutes googling and find any number of online ones so you don't even have to download any software.
 
Originally posted by: Armitage

I looked at that python code, and it looked REALLY long, so I wrote the exact same thing in perl, thinking it'd be way shorter. It came uot shorter, but only by maybe 25% or so.
 
Originally posted by: notfred
Originally posted by: Armitage

I looked at that python code, and it looked REALLY long

The second version is better - the pos array was an ugly kludge.

, so I wrote the exact same thing in perl, thinking it'd be way shorter. It came uot shorter, but only by maybe 25% or so.

In one run your program generated the following password for me: /Jtv0s/K
I'm not sure where that '0' came from? And of course, you can't replicate it.

To be honest, my perl is pretty rusty - I don't follow alot of what you did in there.
 
I found and fixed the 0 problem in my code. I copied your python strings exactly, and the symbol string was being parsed for variable names, as perl does that with double-quoted strings. I changed it to single quotes so that the strings are actually literals, and I'm not getting any more 0s.
 
Originally posted by: notfred
I found and fixed the 0 problem in my code. I copied your python strings exactly, and the symbol string was being parsed for variable names, as perl does that with double-quoted strings. I changed it to single quotes so that the strings are actually literals, and I'm not getting any more 0s.

I see - it was substituting 0 for the special characters like $@ etc.

You had strict turned on though ... why diodn't it flag that there were undeclared variables?
 
I'm really not sure. I'm betting that the string "@#$%^ " was being interpreted as one (or more) of perl's wierd internal variables. I know there are $# and $% variables. I'm not sure if there's an @#, but if there is, then the variable names are declared.
 
Originally posted by: notfred
I'm really not sure. I'm betting that the string "@#$%^ " was being interpreted as one (or more) of perl's wierd internal variables. I know there are $# and $% variables. I'm not sure if there's an @#, but if there is, then the variable names are declared.

That's right - all the "Global Special Variables" According to "Perl in a Nutshell" $% is "The current page number of the currently select output channel." That's where the 0 came from
 
Here's a version that supports some command line options to exclude classes of characters, include easily confused characters, and configure how many of each of the required character types must be present
 
Back
Top