Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 19 Aug 2015 15:58:22 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: FMT_OMP_BAD

Hi Frank,

On Wed, Aug 19, 2015 at 1:59 PM, Frank Dittrich
<frank.dittrich@...lbox.org> wrote:
> 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.

Thanks for your advice. It's really helpful. :)


Thanks,

Kai

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.