Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Piping Crunch to Aircrack-ng

  1. #1
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    2

    Default Piping Crunch to Aircrack-ng

    Hi,

    I am trying to crack a WPA Password with crunch an Aircrack-ng using BT 4 r.2.
    I have read other threads about this and I am using the command:

    /pentest/passwords/crunch# ./crunch 2 4 abcdefghijklmnopqrstuvwxyz | aircrack-ng /root/Mycapfile.cap -e MyESSID -w-

    When I do this I get the strangest Error. At first it takes an unusual while to start aircrack and get it going. Then it allways Stops after trying only 3 Keys with the following Message:

    Aircrack-ng 1.1 r1738


    [00:00:02] 3 keys tested (1.38 k/s)


    Current passphrase: Crunch will now generate 23


    Master Key : 5A FC F0 8F D8 0F 59 D3 44 22 33 76 CD 32 76 15
    0C 69 FA AF 83 63 29 40 64 3F 72 B3 66 2C A5 49

    Transient Key : E5 18 71 4D D6 A3 D2 BE 18 1B EF D2 06 A8 95 AC
    74 BC 69 48 38 3A E8 9C 65 1A B1 B1 E1 BB F2 CE
    81 03 4B 30 C8 49 F1 D3 B6 FB D0 B8 FB FE 12 50
    36 0F F2 EF 43 6F 62 E5 65 B5 B7 8B 87 AA 39 B2

    EAPOL HMAC : 14 85 36 BB 67 06 E4 CD 1C D7 43 F2 53 0E 45 86

    Passphrase not in dictionary



    Quitting aircrack-ng...



    I assume that something about the piping did not work out, since in the current password section it says: "Crunch will now generate 23" and that is definitely no character set that is 2 to 4 characters long.

    I am rather new to BT so I might have overlooked something obvious.

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Piping Crunch to Aircrack-ng

    Are you sure the password is generated by Crunch ? Cause it seems to me that aircrack it didn't find it.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Piping Crunch to Aircrack-ng

    If you are using the latest version of crunch which also gives information on the wordlist size etc., then when piping through
    to other programs, make sure you use the -u command to supress that information on size etc.

    So in your case ;
    Code:
     
    ./crunch 2 4 abcdefghijklmnopqrstuvwxyz -u | aircrack-ng /root/Mycapfile.cap -e MyESSID -w-
    The addition of mentioning the expected size of the wordlist to be created together with wordcount only got included since v2.6, so it is fairly new..

    And of course I dont know what you trying to accomplish, but in your example the max size of the wordlist would be only 4 characters ?!?
    Last edited by TAPE; 01-29-2011 at 12:51 PM.

  4. #4
    Just burned his ISO
    Join Date
    Oct 2009
    Posts
    17

    Default Re: Piping Crunch to Aircrack-ng

    Quote Originally Posted by TAPE View Post
    If you are using the latest version of crunch which also gives information on the wordlist size etc., then when piping through
    to other programs, make sure you use the -u command to supress that information on size etc.

    So in your case ;
    Code:
     
    ./crunch 2 4 abcdefghijklmnopqrstuvwxyz -u | aircrack-ng /root/Mycapfile.cap -e MyESSID -w-
    The addition of mentioning the expected size of the wordlist to be created together with wordcount only got included since v2.6, so it is fairly new..

    And of course I dont know what you trying to accomplish, but in your example the max size of the wordlist would be only 4 characters ?!?
    Just noticed that too! WPA needs to be between 8 and 63 characters, if thats what you are trying to crack?

    IF you are trying to crack a 2-4 character password what if you use the
    -f charset.lst lalpha
    instead of putting the alphabet. Might slow the crunch down though.

  5. #5
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Piping Crunch to Aircrack-ng

    Hmm, my last edit seemed to have got fubarred..

    I actually did a quick test and in my case it worked either with or without the -u option,
    but I would suggest to always use the -u option when piping through to another program.

    @Spiers
    Actually, if you only want to use the lower case alpha values, there is no need to include
    any charset as crunch uses lower case alpha as default charset when no other input is given.
    Last edited by TAPE; 01-29-2011 at 11:51 PM.

  6. #6
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    2

    Default Re: Piping Crunch to Aircrack-ng

    I tryed it with the -u.

    That actually does the trick. I have no idea why, but I am happy anyways.
    Thanks a lot TAPE

    Of course you guys are right ther is not much use trying to crack WPA with a password that is 2 to 4 characters long. Thanks for pointing that out.

  7. #7
    Just burned his ISO
    Join Date
    Mar 2011
    Posts
    8

    Default Re: Piping Crunch to Aircrack-ng

    Can i know where did you get the information on cracking with crunch?

  8. #8
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Piping Crunch to Aircrack-ng

    Quote Originally Posted by reccaflare View Post
    Can i know where did you get the information on cracking with crunch?
    Code:
    man crunch
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  9. #9
    Just burned his ISO
    Join Date
    Mar 2011
    Posts
    8

    Default Riferimento: Piping Crunch to Aircrack-ng

    man crunch? how? can you give me the link or the full command?

  10. #10
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Riferimento: Piping Crunch to Aircrack-ng

    Just go to the crunch directory and than type "man crunch" O_o.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

Page 1 of 2 12 LastLast

Similar Threads

  1. Piping crunch to aircrack
    By iCareMuch in forum Beginners Forum
    Replies: 1
    Last Post: 01-11-2011, 09:13 AM
  2. crunch und Aircrack-ng
    By tokeloay in forum Software support
    Replies: 4
    Last Post: 09-02-2010, 11:06 AM
  3. Problem piping JTR to aircrack-ng...
    By giant22000 in forum OLD BT4beta Software Related Issues
    Replies: 3
    Last Post: 12-28-2009, 05:59 PM
  4. Piping Ripper into Aircrack Help
    By QuicKSwitcH in forum OLD Newbie Area
    Replies: 2
    Last Post: 10-24-2009, 08:00 PM

Posting Permissions

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