Results 1 to 7 of 7

Thread: Custom wordlist and john the ripper

  1. #1
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    3

    Default Custom wordlist and john the ripper

    Hi there,

    I've just downloaded a custom wordlist but want to apply some of my own rules to the words using John The Ripper and then pipe it through to aircrack. Before i start i just wanted to make sure this is even possible as i have read that john can only use a max of eight characters (or does this just apply to certain modes)?

    Cheers

  2. #2
    Member whitelisted's Avatar
    Join Date
    Feb 2010
    Posts
    72

    Default Re: Custom wordlist and john the ripper

    John definitely works with passwords longer than 8 characters. The default dictionary used by john even includes 81 such examples (egrep '.{9,}' /pentest/passwords/jtr/password.lst | egrep -v '^#' | wc -l).

    You might be confusing max password length supported by John with max password length supported by the particular password algorithm you're trying to crack. The old DES-based crypt() function used to protect UNIX passwords, for example, would only support password lengths of 8 characters or less.

  3. #3
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    3

    Default Re: Custom wordlist and john the ripper

    Right ok gotcha thanks for that.

    I have applied my rules to the john.conf files and they should be good to go. Im trying to use the command below to get my wordlist to work through aircrack and the commands i have seen dont vary too much from this.
    ./john --stdout --wordlist=(path to my wordlist) (Pipe) aircrack-ng -b (bssid) -a 2 -w (File)

    However, it comes back with this error msg:

    fopen(dictionary) failed: No such file or directory
    fopen(dictionary) failed: No such file or directory
    No file to crack specified.

    Any help would be much appreciated.

  4. #4
    Good friend of the forums
    Join Date
    Feb 2010
    Posts
    328

    Cool Re: Custom wordlist and john the ripper

    wordlists ( mines the operat0r one

    theres also a script out there for JTR

    http://www.backtrack-linux.org/forum...k-4-final.html

  5. #5
    Member whitelisted's Avatar
    Join Date
    Feb 2010
    Posts
    72

    Default Re: Custom wordlist and john the ripper

    my guess is that you should check that the path to your dictionary file is correct.

    Sorry, I don't have a copy of BT handy to check this for you.

    In future, you should just copy-paste the command and it's output verbatim - removing some of that information and replacing it with "(path to my wordlist)" doesn't give people all the information to help you, and you might find that it's relevant to your problem (perhaps the path contained shell metacharacters or something).

  6. #6
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default Re: Custom wordlist and john the ripper

    The command is all wrong.

    Here is what it should look like:


    /usr/sbin/john --rules -w:wordlist.txt -stdout:63 | aircrack-ng -e (essid) -w - file.cap

  7. #7
    Just burned his ISO
    Join Date
    Mar 2010
    Posts
    3

    Default Re: Custom wordlist and john the ripper

    Sorry to drag this on

    i tried the command below and got this error message. Could you tell me what my school boy error is or point me in the right direction to find out. Thanks again.

    root@bt:/pentest/passwords/jtr# john --rules -w:/pentest/passwords/wordlists/wpalist.txt -stdout:63 | aircrack-ng -e NETGEAR100 -w - mine-01.cap
    Opening mine-01.cap
    open failed: No such file or directory
    No networks found, exiting.jtr# Reading packets, please wait...


    Quitting aircrack-ng...

Similar Threads

  1. pipelining john the ripper to aircrack
    By Li1_Monster in forum Beginners Forum
    Replies: 2
    Last Post: 11-22-2010, 08:41 PM
  2. Custom wordlist
    By pablo101 in forum Beginners Forum
    Replies: 5
    Last Post: 03-23-2010, 01:20 AM
  3. john the ripper takes long
    By Li1_Monster in forum Beginners Forum
    Replies: 1
    Last Post: 02-26-2010, 01:20 AM
  4. John the ripper configuration problem
    By Dante in forum Beginners Forum
    Replies: 2
    Last Post: 01-30-2010, 01:18 PM
  5. How to stop John The Ripper from encrypting User
    By newbie in forum Beginners Forum
    Replies: 1
    Last Post: 01-16-2010, 05:27 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
  •