Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F142BA7.10501@linuxasylum.net>
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

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