Results 1 to 10 of 10

Thread: Create dictionary list from existing list with Crunch

  1. #1

    Create dictionary list from existing list with Crunch

    Hello,

    I would like to create a new dictionary list with a existing list.

    After downloading Kali, I found articles about the tool Crunch.
    Unfortunately I cannot find any good related tutorials for my project. I hope someone could help me out here.
    In my existing list there are only words with low case characters.

    What I would like to do is create from every word in my dictionary list the following rules:
    1. A lowcase word followed by digits from 1 to 9999.
    2. A word with 1 uppercase followed by digits from 1 to 9999.

    Example:

    bird1
    bird2
    bird3
    till ....> bird9999
    Bird1
    Bird2
    Bird3
    till ....> Bird9999

  2. #2
    Junior Member
    Join Date
    Aug 2015
    Posts
    21
    Quote Originally Posted by jessekraal44 View Post
    Hello,

    I would like to create a new dictionary list with a existing list.

    After downloading Kali, I found articles about the tool Crunch.
    Unfortunately I cannot find any good related tutorials for my project. I hope someone could help me out here.
    In my existing list there are only words with low case characters.

    What I would like to do is create from every word in my dictionary list the following rules:
    1. A lowcase word followed by digits from 1 to 9999.
    2. A word with 1 uppercase followed by digits from 1 to 9999.

    Example:

    bird1
    bird2
    bird3
    till ....> bird9999
    Bird1
    Bird2
    Bird3
    till ....> Bird9999
    I'm assuming this is for WPA/WPA2 cracking.. you can try crunch this way: crunch 8 8 -t bird%%%% | less
    this will generate bird0001 up to bird9999. The -t option lets you set a fixed word and the % is a number that will increment.
    Checkout the man pages for crunch.. lots of options to play around... Hope this helps...

  3. #3
    Hey there, I wrote a decent blogpost on crunch quite a wee while ago, it may be of help ;
    http://adaywithtape.blogspot.nl/2011...runch-v30.html

    Some information on wordlist / string manipulation as well here ;
    http://adaywithtape.blogspot.nl/2011...revisited.html


    In your particular case it may well be quicker to first make a list containing both the lower and upper case words, and then append the numbers ;

    make wordlist (wordlistU.txt) with upper case values
    append it to original wordlist (wordlistL.txt)
    sort the list (if thats what you want)

    Code:
    sed 's/^./\u&/' wordlistL.txt > wordlistU.txt                          #takes wordlistL.txt and makes the first letter uppercase
    cat wordlistU.txt wordlistL.txt | sort > wordlistLU.txt             #combines both lower and upper case wordlist, then sorts the list
    As for crunch, it doesnt work so easily with variable length outputs, so you would probably have to look at a different program or quickly script something to append the 1 - 999 to each word.

    For instance ;
    Code:
    for i in $(cat wordlistLU.txt) ; do seq -f "$i%0.0f" 0 9999; done
    The above is a simple & quick operation, so the list you want can be quickly made with help of the above couple of steps.
    Last edited by TAPE; 2015-10-10 at 03:51 PM.

  4. #4
    Junior Member
    Join Date
    May 2015
    Posts
    1
    how create wordlist with 8 words as:

    (random letter)xxx999(random number)
    example:
    axxx9991
    bxxx9992
    sxxx9998

    Regards,

  5. #5
    well not particularly random, but all of them ;

    Code:
    ./crunch 8 8 -t @xxx999%
    Read up on crunch, its an awesome tool

  6. #6
    Junior Member
    Join Date
    Nov 2015
    Posts
    1
    Hi, I need a different kind of list. I could not find a reference anywhere on how to accomplish this.

    I have a crunch generated wordlist file with contents like this:

    000000
    000001
    000002
    000003

    Simple 6 char numeric list.

    I need to have it looking like this:

    000000000000
    000001000001
    000002000002
    000003000003

    In short, I would like to copy content of each line, and paste it next on original line.
    Can it be done with crunch?

  7. #7
    Senior Member
    Join Date
    Mar 2015
    Posts
    141
    sed 's/^/00000/' wordlist1 > wordlist2

  8. #8
    Senior Member
    Join Date
    Mar 2015
    Posts
    141
    Sorry, misread post and this wont let me edit...

    Try this instead...

    create a small script called double.sh or whatever

    Code:
    #!/bin/bash
    
    while read line
    do echo "$line$line"
    done <$1
    then just run double.sh wordlist.txt > wordlist-double.txt

  9. #9
    Junior Member
    Join Date
    Jan 2018
    Posts
    1
    Hi, I have been trying to make a word list using the same word but changing each letter with upper and lower case, with a number on the end. E.g

    Peggy4
    pEggy4

    For every combination. I have watched alot of tutorials and read a fair bit on crunch. But I just can't work out how to do it, or if it can be done?

    Any advice is appreciated. Thanks in advance.

  10. #10
    Senior Member
    Join Date
    Jul 2013
    Posts
    818
    ESSIDPROBEWPA3-21.sh which can be downloaded thru the links found here:

    https://forums.kali.org/showthread.p...dcast-In-Clear

    uses crunch and is designed to replace characters in a string . Your wordlists must all be of the same length and placed in a specifically named folder.

    Musket Teams
    Last edited by mmusket33; 2018-02-14 at 10:52 AM.

Tags for this Thread

Posting Permissions

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