in reply to Attempting to create a brute-force wordlist
Anyway, if your question is really "how do I create numbers with leading zeros?", the answer is sprintf (and its cousin "printf"):
Have fun with that.my $begin = sprintf( "%03d", 0 ); my $end = sprintf( "%03d", 79 ); print "make a list that runs from $begin to $end\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Attempting to create a brute-force wordlist
by Anonymous Monk on Sep 20, 2009 at 16:22 UTC | |
by zwon (Abbot) on Sep 20, 2009 at 16:39 UTC | |
by Anonymous Monk on Sep 20, 2009 at 16:56 UTC | |
by zwon (Abbot) on Sep 20, 2009 at 17:08 UTC | |
by dsheroh (Monsignor) on Sep 21, 2009 at 11:33 UTC |