Results 1 to 7 of 7

Thread: please help with crunch command...

  1. #1
    Join Date
    2015-Mar
    Posts
    5

    please help with crunch command...

    Hi,

    I do want a word-list with min 4 and max 8 with a pattern abcd@@@@
    So my command would be

    crunch 4 8 0123456789 -t abcd@@@@ -o abcd.txt

    Crunch will give me an error of minimum must be the same length of the pattern which obviously 8.
    Please help me how to get the command right.

    so my word-list would produce something like this

    abcd1
    abcd12
    abcd123
    abcd1234

    Not just like this

    abcd1234
    abcd4231

    Thank You

  2. #2
    Join Date
    2013-Dec
    Location
    Krakow
    Posts
    67
    Man! Is just you READ the error!

    for i in `crunch 1 8 1234567890 %`; do echo "abcd$i"; done

    Last edited by Crash; 2015-07-30 at 16:19.

  3. #3
    Join Date
    2015-Mar
    Posts
    5
    Hi,

    can you give the actual command, so I can easily follow through... I can't get the command above to work.

    crunch 1 8 1234567890 %`; do echo "abcd$i"

    Thank You

  4. #4
    Join Date
    2013-Dec
    Location
    Krakow
    Posts
    67
    I dont know where you found it: crunch 1 8 1234567890 %`; do echo "abcd$i"
    I think that you have some problem there, I posted this commandi just changed to 3 to dont generate a big output):

    root@anubis:~# for i in `crunch 1 3 1234567890 %`; do echo "abcd$i"; done
    Crunch will now generate the following amount of data: 4320 bytes
    0 MB
    0 GB
    0 TB
    0 PB
    Crunch will now generate the following number of lines: 1110
    abcd1
    abcd2
    abcd3
    abcd4
    abcd5
    abcd6
    abcd7
    abcd8
    abcd9
    abcd0
    abcd11
    abcd12
    abcd13
    abcd14
    abcd15
    abcd16
    abcd17
    abcd18
    abcd19
    abcd10
    abcd21
    abcd22
    abcd23
    abcd24
    abcd25
    abcd26
    abcd27
    abcd28
    abcd29
    abcd20
    abcd31
    abcd32
    abcd33
    abcd34
    abcd35
    abcd36
    abcd37
    abcd38
    abcd39
    abcd30
    abcd41

  5. #5
    Join Date
    2015-Aug
    Posts
    1
    going off topic here... using crunch with aircrack-ng, does it save the word list? so if i did a 0 to 25 with abcdfghABCDEFGH would that save and use up a lot of my memory? or does aircrack make the list, try it, then delete it on the spot?


    (im new to this :P)

  6. #6
    Join Date
    2013-Dec
    Location
    Krakow
    Posts
    67
    Yeah, crunch saves the list.
    Just take a look in man/help witch one is the option to do that.

  7. #7
    Join Date
    2013-Jul
    Posts
    844
    To Hoe

    This will work:

    crunch 5 5 "0123456789" abcd@ -o File1

    crunch 6 6 "0123456789" abcd@@ -o File2

    crunch 7 7 "0123456789" abcd@@@ -o File3

    crunch 8 8 "0123456789" abcd@@@@ -o File4


    To ApesUpt

    A good overview for crunch can be found by searching Crunch A Day With Tape. There are two(2) of these study the later one.

    When using with aircrack-ng you can either have crunch write a file to text and then have aircrack-ng access it thru the -w command.

    Otherwise you can do a crunch aircrack-ng passthru something like this:

    crunch 10 10 "0123456789" | aircrack-ng handshake.cap -b XX:XX:XX:XX:XX:XX -w -

    Only do a passthru if the wordlist is so big that you cannot precompute or store it. A passthru slows down the cracking speed.

    MTeams
    Last edited by mmusket33; 2015-08-11 at 11:27.

Similar Threads

  1. Command for the command prompt adminroot@kali~$
    By David_Fola in forum Installing Archive
    Replies: 0
    Last Post: 2020-06-22, 00:30
  2. Crunch Command Line Problems and Solutions
    By mmusket33 in forum How-To Archive
    Replies: 2
    Last Post: 2015-11-08, 09:12

Posting Permissions

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