Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP260EB8639C0AD56BBF15EEEFDC40@phx.gbl>
Date: Wed, 1 Aug 2012 21:49:57 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Output for dynamic formats in --list=format-details
 (and --list=format-all-details

On 08/01/2012 07:13 PM, jfoug wrote:
> This is very easy to fix this symptom, but I think this was done this
> way for a reason, it is just so long ago, I cannot remember exactly
> what side effect changing this back would do.  The problem was 
> something like auto-detection, if the -format was not used, or in 
> 'ability' to do something like:   -test -format=dynamic, or something
> I actually 'think' it was in that last (ability to use -format=dynamic
> as a format type).  This may have been more for historical compatibility
> than anything else.  If all that it was is -format=dynamic no longer
> works, then I am not too concerned.

You are right,k without changing it, you can use --test --format=dynamic
ad get all dynamic formats tested.

> //	if (!options.format || strncmp(options.format, "dynamic_", 8))
> //		pFmt->params.label = str_alloc_copy("dynamic");
> //	else
> 		pFmt->params.label = str_alloc_copy(label_id);

With that change I get:

$ ./john --test= --format=dynamic_n
Unknown ciphertext format name requested



BTW: What change would be needed to make the following command test
valid() for dynamic formats as well?

$ ./john hashes-all.txt-1.mscash2
Warning: detected hash type "lm", but the string is also recognized as
"lotus5"
Use the "--format=lotus5" option to force loading these as that type instead
Warning: detected hash type "lm", but the string is also recognized as
"mscash"
Use the "--format=mscash" option to force loading these as that type instead
Warning: detected hash type "lm", but the string is also recognized as
"mscash2"
Use the "--format=mscash2" option to force loading these as that type
instead
Warning: detected hash type "lm", but the string is also recognized as
"raw-md4"
Use the "--format=raw-md4" option to force loading these as that type
instead
Warning: detected hash type "lm", but the string is also recognized as
"raw-md5"
Use the "--format=raw-md5" option to force loading these as that type
instead
Warning: detected hash type "lm", but the string is also recognized as
"raw-md5u"
Use the "--format=raw-md5u" option to force loading these as that type
instead
Loaded 2430 password hashes with no different salts (LM DES [128/128 BS
SSE2])
guesses: 0  time: 0:00:00:01 0.00% (3)  c/s: 441965K  trying: JJA - SARLE1
guesses: 0  time: 0:00:00:02 0.00% (3)  c/s: 769883K  trying: QCT - RFY
guesses: 0  time: 0:00:00:04 0.00% (3)  c/s: 1505M  trying: B* - 773S

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.