Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080618205924.GA18909@openwall.com>
Date: Thu, 19 Jun 2008 00:59:24 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Password generating tool

On Wed, Jun 18, 2008 at 03:27:00PM +0200, Markus Friedel wrote:
> on my way to get John working with BOINC i have to do some tests.
> So i need some passwords. actually i get them by using pwgen an mkpasswd 
> this way:
> 
> pwgen -A -0 $PWLENGTH 1 | mkpasswd -H MD5 -s >> mypassword
> 
> The problem with mkpasswd is, i can only generate md5 and des. But i 
> want to have more algorithms to test on.
> 
> Can somebody show me a tool who does this with more algorithms and still 
> works with john? I have tested mcrypt, but didnt get it work with john.

I've attached a couple of Perl scripts that do what you have asked for -
and more.  The scripts require the Authen::Passphrase module from CPAN,
and they accept a wordlist (such as JtR's default password.lst) on
standard input and produce /etc/passwd-like or PWDUMP-like entries on
standard output.  This covers all of the hash types supported by JtR
natively, and NTLM.  The plaintext passwords are placed into the GECOS
field, which lets the "single crack" mode crack them instantly.

Alexander

View attachment "genunixhash.pl" of type "text/plain" (987 bytes)

View attachment "gennthash.pl" of type "text/plain" (378 bytes)

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

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.