Results 1 to 7 of 7

Thread: add numbers to wordlist

  1. #1
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    10

    Default add numbers to wordlist

    Hello there!!

    I am trying to make an great Wordlist.
    I already figured out where to find these and how I merge them together.
    Recently I have bin using the search option alot on this forum.
    I found some tools to create wordlist, but the thing I didnt find was howto import a wordlist and add numbers on it.
    As example: If I have an wordlist also with "food " how can I get this effect:

    0001food
    food0001
    0002food
    food0002
    ect.. till 9999 in every word??
    I hope someone could tell me how I can create this, for so far I know It is not possible to import a wordlist in Crunch and get this effect??

    tnx

    grtz,

    TheCrow01

  2. #2
    Member skor78's Avatar
    Join Date
    Jul 2009
    Posts
    140

    Default Re: add numbers to wordlist

    Hi, purehate has a wordlist optimizer tool who might just help you with what you're looking for..
    Search for it, i think there's a referral to it in one of my threads, try searching them, they're not many, might be easier.
    Cheers!
    محاولة أصعب!..

  3. #3
    Junior Member dec1bel's Avatar
    Join Date
    Dec 2010
    Location
    US
    Posts
    36

    Default Re: add numbers to wordlist

    It can be done with a one-line perl script.

    I can't take credit for it but somebody posted something like this yesterday and it's now gone. I tried to recreate it from memory but it may not be complete.

    Code:
    perl -e 'while(<>){chomp; print $_; for($i=0;$i<9999;$i++){print $i.$_."\n";print $_.$i."\n";}}' orig_wordlist.txt >> new_wordlist.txt
    It'd be nice if the originator could confirm and take credit for it.

  4. #4
    Member CKing's Avatar
    Join Date
    Mar 2010
    Location
    downtown, riverfront
    Posts
    83

    Default Re: add numbers to wordlist

    Someones post got erased and quite a useful bit of pearl was the solution, it happened to be significantly more efficient than my bash solution so I took the liberty of copying it.

    perl -e 'while(my $line = <>) { chomp($line); foreach my $i (1..9999) { printf ("%04d$line\n", $i); printf ("$line%04d\n", $i); }}'

    credit to Gitsnik (according to google cache)
    Last edited by CKing; 12-04-2010 at 02:02 AM. Reason: credit to gitsnik
    A true gentleman, a good hearty guy.

  5. #5
    Member skor78's Avatar
    Join Date
    Jul 2009
    Posts
    140

    Default Re: add numbers to wordlist

    Google cashe rules!! It's been helpful to me lots and lots of times..

    Maybe u were seeing the thread in the old remote-exploit forums.. if that's the case, just search the title in the forum (or google), and you'll find it in here.
    Cheers!
    محاولة أصعب!..

  6. #6
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    7

    Default Re: add numbers to wordlist

    Quote Originally Posted by CKing View Post
    Someones post got erased and quite a useful bit of pearl was the solution, it happened to be significantly more efficient than my bash solution so I took the liberty of copying it.

    perl -e 'while(my $line = <>) { chomp($line); foreach my $i (1..9999) { printf ("%04d$line\n", $i); printf ("$line%04d\n", $i); }}'

    credit to Gitsnik (according to google cache)

    i get a wierd output is that right

    i using dog.txt as just dog

    9489dog
    dog0000
    9490dog
    dog0000
    9491dog
    dog0000
    9492dog
    dog0000
    9493dog
    dog0000
    9494dog
    dog0000
    ...
    MOD Edit: We do not want to see the whole list you got.

    is this correct?
    Last edited by sickness; 12-04-2010 at 08:27 AM.

  7. #7
    Member CKing's Avatar
    Join Date
    Mar 2010
    Location
    downtown, riverfront
    Posts
    83

    Default Re: add numbers to wordlist

    Quote Originally Posted by sseckelsgg View Post
    i get a wierd output is that right

    i using dog.txt as just dog

    9489dog
    dog0000
    9490dog
    dog0000
    9491dog
    dog0000
    9492dog
    dog0000
    9493dog
    dog0000
    9494dog
    dog0000
    ...
    MOD Edit: We do not want to see the whole list you got.

    is this correct?
    This is not the intended output. The 0000 should be replaced with a 4 digit sequential number
    A true gentleman, a good hearty guy.

Similar Threads

  1. Removing numbers from a wordlist.
    By oracx in forum Beginners Forum
    Replies: 2
    Last Post: 02-22-2010, 11:39 PM
  2. Needing a wordlist of numbers only !
    By rateb the pro in forum OLD BackTrack 4 General Support
    Replies: 15
    Last Post: 01-05-2010, 02:25 PM
  3. Aircrack-ng can't use numbers wordlist.
    By kirbyfree in forum OLD Newbie Area
    Replies: 5
    Last Post: 11-25-2009, 10:00 PM
  4. Replies: 2
    Last Post: 11-25-2008, 11:42 AM
  5. Replies: 28
    Last Post: 10-23-2008, 10:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •