Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150512182137.GA16666@openwall.com>
Date: Tue, 12 May 2015 21:21:37 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: displaying full meta information about hashes with
 --show=types

On Tue, May 12, 2015 at 02:43:09PM +0300, Aleksey Cherepanov wrote:
> On Tue, May 12, 2015 at 10:01:56AM +0200, Frank Dittrich wrote:
> > Obviously, dynamic_0 and dynamic_29 (and possibly other formats can also
> > load this hash.
> > These formats don't appear in that list, because of this default setting
> > in john,conf:

> There is an option to overwrite it:
> --field-separator-char=C  use 'C' instead of the ':' in input and pot files

Ouch, I meant
--bare-always-valid=C     if C is 'Y' or 'y', then the dynamic format will
                          always treat bare hashes as valid

> Though neither the option nor the setting affect my code.

I got it: a bare hash should occur on the first line to make
DynamicAlwaysUseBareHashes to work.

BTW
$ make -s && ../run/john --list=subformats
Format = dynamic_0   type = dynamic_0: md5($p) (raw-md5)
[...]
$ make -s && ../run/john ../../t.pw --format=dynamic --subformat=dynamic_0 --bare-always-valid=Y
Error, Invalid signature line trying to link to dynamic format.
Original format=asa-md5
Signature line=$dynamic_20$h3mJrcH0901pqX/m$alex


$ make -s && ../run/john ../../t.pw --format=dynamic --show=types
Somehow it makes my code to show many dynamics only for the first line
but not for another line in the middle of the file.

Thanks!

-- 
Regards,
Aleksey Cherepanov

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.