Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55D41B5B.1050707@mailbox.org>
Date: Wed, 19 Aug 2015 07:59:55 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: Re: FMT_OMP_BAD

On 08/19/2015 02:51 AM, Solar Designer wrote:
> You should consider the effective number of test vectors, not just the
> number of test vectors listed.  For example, this:
> 
> static struct fmt_tests haval_128_4_tests[] = {
> 	{"EE6BBF4D6A46A679B3A856C88538BB98", ""},
> 	{"$haval$ee6bbf4d6a46a679b3a856c88538bb98", ""},
> 	{NULL}
> };
> 
> is effectively just one test vector, not two.  It's just testing two
> different encodings.  Similarly, haval_256_3_tests[] has 3 encodings of
> effectively one test vector.  There are probably more cases like this.

Redirecting the hashes into a file, with --list=format-tests --format=
and then cracking them (use --max-run-time=1) allows parsing john's
output for the number of different hashes / different salts, so you
don't have to do that manually.
Running --show=left instead of cracking might also remove the dupes.

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.