Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 17 Aug 2011 15:35:46 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: -subformat key works better than documented

On Wed, Aug 17, 2011 at 01:23:42AM +0400, Aleksey Cherepanov wrote:
> I found on john-1.7.8-jumbo5 that -subformat key accepts following:
> $ john -format:md5-gen -subformat:'md5_gen(0)' ...
> It works for me like
> $ john -format:'md5_gen(0)'
> While documentation (doc/OPTIONS) does not say about -subformat key.
> It says only about -subformat=LIST key that shows list of subformats.
> However such behaviour seems to me to be intuitional.

I'd say it's legacy.  In fact, we need to rename those md5_gen things,
getting rid of the braces (which unnecessarily make things more
difficult e.g. when passing "john ..." commands to remote servers via
ssh) and of md5 in the name (as there's also SHA-1 support in the same
md5_gen thing now).

> Hence the question could I use such behaviour in Johnny? Or will it be
> fixed to be like in documentation and I should not use it?

Why would Johnny the GUI need to be aware of such things at all?  It is
supposed to work with non-jumbo builds of JtR as well, which lack
md5_gen completely.  I suggest that you only use "--format".

Alexander

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.