Results 1 to 12 of 12

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
    Join Date
    2015-Aug
    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. 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 15:51.

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

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

    Regards,

  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
    Join Date
    2015-Nov
    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
    sed 's/^/00000/' wordlist1 > wordlist2

  8. #8
    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
    Join Date
    2018-Jan
    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
    Join Date
    2013-Jul
    Posts
    844
    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.

  11. #11
    Join Date
    2018-May
    Location
    Muddled Depths
    Posts
    1
    Using crunch version 3.6 and trying to generate a file where max and min password length is 6, the first two chars are DD, the second two chars are uppercase letters, and the last two chars are numbers. I am ALSO trying to PREVENT CONSECUTIVE repeats (except for the first two chars, of course). This is what I'm trying to accomplish:

    |D|D|UpperAlpha|UpperAlpha|Number|Number

    This is what I tried, but it isn't even generating a single line:

    crunch 6 6 -d 1, -d 1% -t DD,,%% -o dd.txt

    How can I generate a text file where the min and max length is 6, the first two chars are DD, the second two chars are upper alpha chars without consecutive repeats, and the last two chars are numbers without consecutive repeats?

  12. #12
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326
    Quote Originally Posted by neuron_burn View Post
    Using crunch version 3.6 and trying to generate a file where max and min password length is 6, the first two chars are DD, the second two chars are uppercase letters, and the last two chars are numbers. I am ALSO trying to PREVENT CONSECUTIVE repeats (except for the first two chars, of course). This is what I'm trying to accomplish:

    |D|D|UpperAlpha|UpperAlpha|Number|Number

    This is what I tried, but it isn't even generating a single line:

    crunch 6 6 -d 1, -d 1% -t DD,,%% -o dd.txt

    How can I generate a text file where the min and max length is 6, the first two chars are DD, the second two chars are upper alpha chars without consecutive repeats, and the last two chars are numbers without consecutive repeats?
    Working with crunch best bet is youll only get it to print out two consecutive letters so
    bbaadd. Try to change your command to this. Isnt that the -d option right so -d 2. Stupid i know but thats it.
    easy to start; hard to finish

Similar Threads

  1. Replies: 0
    Last Post: 2020-07-22, 01:44
  2. Targeted/Personalized Dictionary List Generator
    By MC_GitFlow in forum Project Archive
    Replies: 3
    Last Post: 2016-12-10, 16:02
  3. Right dictionary list help a Noooobb
    By Thehellfiresarehottt in forum General Archive
    Replies: 3
    Last Post: 2016-10-27, 22:20

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
  •