Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Jun 2011 12:46:45 -0500
From: "jfoug" <jfoug@....net>
To: <john-users@...ts.openwall.com>
Subject: RE: IPB2 and syntax - same question but still confuse

I really wonder if the file itself does NOT contain a tab between the user
and the hash.  Pick a character that is NOT used, make a sample file with
just that one hash, and use that char as the separator character, 

$ cat test1.txt
user-md5_gen(12)6e8bb151fbed7cee93acf6b0288c79a7$r{)<|

$ john -i:all test1.txt -fie=-
using field sep char '-' (0x2d)
Loaded 1 password hash ( md5_gen(12): md5(md5($s).md5($p))  (IPB)  [SSE2
16x4x2 (intr)])
guesses: 0  time: 0:00:00:06 0.00%  c/s: 170890  trying: meltroca - methes03
Session aborted

The problem is the file does not contain the characters he thinks it does.
The (0x09) on the command line, shows that he is getting the tab on the
command line (you should also be able to use -field_sep='\x9' for the tab)

I changed my test file to properly have a tab \x09 and used this john
command, and it work just fine.

$ john -i:all test1.txt -fie='\x9'
using field sep char '  ' (0x09)
Loaded 1 password hash ( md5_gen(12): md5(md5($s).md5($p))  (IPB)  [SSE2
16x4x2 (intr)])
guesses: 0  time: 0:00:00:02 0.00%  c/s: 143825  trying: ceg4 - rosis
Session aborted

Here is the version being used.

$ john
John the Ripper password cracker, version 1.7.7-jumbo-6
Copyright (c) 1996-2011 by Solar Designer and others
Homepage: http://www.openwall.com/john/

Usage: john [OPTIONS] [PASSWORD-FILES]
... clip

>-----Original Message-----
>
>Jim - maybe you will reply to W.A.?  I might not be aware of some detail
>regarding support for these hashes in different builds of -jumbo.  Most
>likely, W.A. is just doing something incorrectly, because his test case
>just
>works for me (on another system).  But it could also be something real.
>
>On Thu, Jun 30, 2011 at 12:52:53PM +0200, websiteaccess@...il.com wrote:
>>  My hash is formatted as following : user
>> md5_gen(12)6e8bb151fbed7cee93acf6b0288c79a7$r{)<|
>
>I cannot tell from the above what character(s) you use to separate the
>username from the hash.  You previously mentioned it was a TAB, but I am
>not sure if that's actually the case.
>
>> iMac-de-xxx-xx:run xxxxx$ mpirun -np 4 ./john64 -i:all test.txt
>> -field-separator-char=" "

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.