Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 13 Sep 2005 01:36:31 -0700 (PDT)
From: ByteRage <byterage@...oo.com>
To: john-users@...ts.openwall.com
Subject: Re: interfacing JtR modules

--- Solar Designer <solar@...nwall.com> wrote:
> On Mon, Sep 12, 2005 at 05:46:33AM -0700, ByteRage
> wrote:
> >
>
http://byterage.hackaholic.org/source/john-test.tar.gz
> > 
> > Currently I've figured out how to use at least the
> DES
> > crypt() routines (standard / bitslice DES / MMX)
> (see
> > test.c & test2.c). But the LM, MD5, BF, AFS, BSDI
> > modules I can't get to work (see test2.c, the
> > cmp_exact() should return 1 for LM, MD5, BF imho)
> > 
> > Maybe someone can see what I'm doing wrong.
> 
> You forgot to call common_init().  Adding this call
> makes MD5 work in
> your test2.c (I did not try other hash types).

Ok thanks.

> > (like why LM is working and MD5 isn't).
> 
> Didn't you just say that you couldn't get LM to
> work?

Umm yes... I meant to say "(like why crypt is working
and MD5 isn't)." Indeed LM wasn't working before
either.

> P.S. In order to achieve these routines' full
> performance, you should
> invoke crypt_all() on at least min_keys_per_crypt
> candidate passwords
> at once and use hash tables and/or cmp_all(). 
> cmp_one() and cmp_exact()
> are not meant to be performance-critical and are
> programmed accordingly.

Indeed I understand that. I used cmp_exact() just to
test it out. Thanks alot.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Powered by blists - more mailing lists

Your e-mail address:

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