Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 12 Nov 2008 09:48:04 -0200
From: nahuel.grisolia@...il.com
To: john-users@...ts.openwall.com
Subject: Re: fastMD5 update, solves collision bug (Was: MD5 Collision!)

Hey there Simon... still not working... please check...

FOO@...:/tmp$ /XXXXX/john-1.7.3.1/run/john shadow -wordlist=pass
Loaded 1 password hash (FreeBSD MD5 [32/32])
A10M04o5R        (jparedes)

FOO@...:/tmp$ /XXXXX/john-1.7.3.1/run/john shadow -wordlist=pass
Loaded 1 password hash (FreeBSD MD5 [32/32])
rozts1           (jparedes)

shadow file is:

jparedes:$1$uHWw1Ls6$Ax3DNJYxtmSMND5ALRwxi1:14151:0:99999:7:::


am i doing something wrong? I'm using ICC to compile and i'm applying
Jumbopatch and then your patch like this:

FOO@...:~/XXXXX/john-1.7.3.1$ gzip -dc ../john-1.7.3.1-all-5.diff.gz | patch
-p1

and then...

FOO@...:~/XXXXX/john-1.7.3.1$ patch -p1 <
../john-1.7.3.1-all-5-fastMD5.4.diff
patching file src/Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n]
Hunk #3 FAILED at 213.
1 out of 3 hunks FAILED -- saving rejects to file src/Makefile.rej
patching file src/MD5_fmt.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Hunk #5 FAILED at 114.
Hunk #6 succeeded at 135 (offset -36 lines).
1 out of 6 hunks FAILED -- saving rejects to file src/MD5_fmt.c.rej
patching file src/MD5_std.h
Reversed (or previously applied) patch detected!  Assume -R? [n]
Hunk #2 succeeded at 91 with fuzz 2 (offset 6 lines).
patching file src/mkvcalcproba.c
patching file src/sse-intrinsics.c
patching file src/sse-intrinsics.h
patching file src/x86-64.h
patching file src/x86-sse.h

then..

make linux-x86-sse2-icc

and thats all...

the --test is working...

Benchmarking: FreeBSD MD5 [32/32]... DONE
Raw:    18487 c/s real, 18672 c/s virtual


Byee! thanx a lot.

2008/11/12 Simon Marechal <simon@...quise.net>

> This was due to the lack of checks beyond the first 32 bits. This should be
> fixed at:
>
> http://btb.banquise.net/bin/john-1.7.3.1-all-5-fastMD5.4.diff.gz
>
> compared to .3, it :
> * checks the 128 bits of the md5 hash, instead of 32
> * corrects the bug in mkvcalcproba.c
> * reduces the "parallelization" from 3 to 2 in 32 bit mode

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ