Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 1 Jan 2013 10:53:08 +0100
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-users@...ts.openwall.com
Subject: Re: How does JTR know what kind of hash to try to crack?

On 01/01/2013 12:00 AM, John Hall wrote:
> Using JTR with jumbo patch to try to crack forgotten password to the Password Safe program http://passwordsafe.sourceforge.net/

In addition to what Lukas wrote:

If a hash is ambiguous so that multiple supported formats consider this
hash as valid (or if your input file contains different hash formats),
you can force john to use a particular hash format. Just use
./john --format=...
See the output of
./john
or
./john --list=format-details | cut -f 1,8
to check which format is the right one for you.

Some formats require the hashes to be formatted in a particular way.
In a few cases, there are format specific files in the doc directory,
which contain a "How to create the password string" or similar chapter:
HDAA_README
NETNTLM_README
OFFICE
README.format-epi
README.gpg
README.keychain
README.keyring
README-krb5-18-23
README.mozilla
README.pwsafe

If you have a <format>2john binary (or symbolic link) or a <format>2john
or <format>2john.pl or <format>2john.py perl or python script for your
format in the run directory, you'll usually have to use this binary or
script to extract the hashes from another file and convert them into a
format suitable for john.

Running such a program without any parameters should print some usage
output. If not, check if the doc directory contains more information for
the format you are interested in, or check the comment at the start of
the <format>2john script. It might contain usage information.

If nothing else helps, post a question to the john-users mailing list.

Searching for the source code which implements a particular format, and
checking how the test vectors are constructed, might be the only way to
really find out how to format the hashes.
In such a case, we might want to add some format specific documentation.

Frank

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.