john the ripper not seeing wordlist
Trying john the ripper with the wordlist that comes with it:
Code:
root@bt:/pentest/passwords/john# ./john --wordlist:password.lst |aircrack-ng -b XX:XX:XX:XX:XX:XX -w - /tmp/wpa*.cap
but it doesn't seem to recognize the password file even though I checked it's there. The output is:
Code:
Password files required, but none specified
Opening /tmp/wpa-01.cap
Opening /tmp/wpa-02.cap
Opening /tmp/wpa-03.cap
Opening /tmp/wpa-04.cap
Reading packets, please wait...
Aircrack-ng 1.1 r2076
Passphrase not in dictionary
0
Quitting aircrack-ng...
I tried various wordlists of different sizes, they all have that 0 except when I ran john without parameters (root@bt:/pentest/passwords/john# john |aircrack-ng -b, etc.) That time it said 46 instead of 0. However, the incremental attack works fine.
I have version 1.7.9-jumbo-6 [linux-x86-sse2] and bt 3.2.6. Any assistance would be appreciated.
Re: john the ripper not seeing wordlist
This is from a slightly older version but I'm sure they haven't changed it
Code:
./john
John the Ripper password cracker, version 1.7.1
Copyright (c) 1996-2006 by Solar Designer and others
Homepage: http://www.openwall.com/john/
Usage: john [OPTIONS] [PASSWORD-FILES]
--single "single crack" mode
--wordlist=FILE --stdin wordlist mode, read words from FILE or stdin
.....
Looks like you want to use an equals sign not a colon.
Code:
root@bt:/pentest/passwords/john# ./john --wordlist=password.lst |aircrack-ng -b XX:XX:XX:XX:XX:XX -w - /tmp/wpa*.cap
Re: john the ripper not seeing wordlist
If thorin's suggestion doesn't work, try adding --stdout to your john invocation. Pretty sure it won't pipe to stdout without it.
Re: john the ripper not seeing wordlist
Quote:
Originally Posted by
ternarybit
If thorin's suggestion doesn't work, try adding --stdout to your john invocation. Pretty sure it won't pipe to stdout without it.
ternarybit ""solution"" worked!
root@bt:/pentest/passwords/john# ./john --wordlist=password.lst --stdout | aircrack-ng -b 00:2x:xx:XX:XX:xx -w - /root/Desktop/me-01.cap
Opening /root/Desktop/me-01.cap
words: 3548 time: 0:00:00:00 DONE (Mon Jul 9 19:55:17 2012) w/s: 39422 current: sss
Reading packets, please wait...
Aircrack-ng 1.1 r2076
[00:00:00] 84 keys tested (273.46 k/s)
KEY FOUND! [ testingpassword ] i added the password in /pentest/passwords/john/password.lst
Master Key : 08 D5 DD 06 39 8A 74 B9 8C AA 8B AD 7A E5 BE 38
07 42 EE 15 98 EF CF 7A 7E 13 BE 44 53 DF 46 3D
Transient Key : 8D C8 65 9A F3 D8 E4 6F 79 61 AA FD B4 01 E6 E2
DD 64 67 2F 28 39 CD 5A 8B 06 D2 DB 83 C6 57 F3
34 58 01 58 7E DD 6C B6 D1 B0 26 5B 7E 20 78 79
3D 19 3F 55 10 25 E4 B7 E6 EA 6E 2E AE 51 C9 2B
EAPOL HMAC : 49 11 9E AC 22 D1 34 7D F8 F6 43 75 62 71 AA 16
root@bt:/pentest/passwords/john#
Re: john the ripper not seeing wordlist