[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 16 Jan 2012 14:52:39 +0100
From: Samuele Giovanni Tonon <samu@...uxasylum.net>
To: john-users@...ts.openwall.com
Subject: Re: using john-1.7.9-jumbo-5 for sha1 passwords
On 01/16/12 10:38, Ramprasad Prasad wrote:
> I want to use john for cracking sha1 passwords is that possible ?
> I am using perl function Digest::SHA::sha1_base64 for generating
> passwords
>
> $ perl -MDigest::SHA -le 'print "user:".Digest::SHA::sha1_base64($ARGV[0])'
> password > pass1
>
>
> But decrypting does not work
>
> $ ./john --format=sha1-gen pass1
> No password hashes loaded (see FAQ)
>
> $ ./john --format=raw-sha1 pass1
> No password hashes loaded (see FAQ)
>
>
>
raw-sha1 works on hexadecimal string not on base64.
perl -MDigest::SHA -le 'print "user:".Digest::SHA::sha1_hex($ARGV[0])'
will work with raw-sha1.
sha1-gen will work for password like
$SHA1s$salt$c88e9c67041a74e0357befdff93f87dde0904214
Regards
Samuele
Powered by blists - more mailing lists
Powered by Openwall GNU/*/Linux -
Powered by OpenVZ