|
Message-ID: <20191130114743.GA2622@openwall.com> Date: Sat, 30 Nov 2019 12:47:43 +0100 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: Re: No password hashes loaded On Fri, Nov 29, 2019 at 09:46:33PM +0000, David Taylor wrote: > So I attempted an argon2i password with the file contents below and it still gives me the same > "No password hashes loaded" error. > > Am I doing something wrong? > > $argon2i$m=30000,t=12,p=1$XEnOfP5QoauyEumeJVXhqSbzDrTCde4cIl/A0GiVd+srJ1kSff0xshZSHk0spwPR As far as I'm aware, this isn't a properly encoded Argon2 hash - it lacks the '$' separator between salt and hash. Let's generate a valid one: $ echo -n password | ./argon2 salthere -i -t 12 -k 30000 -p 1 Type: Argon2i Iterations: 12 Memory: 30000 KiB Parallelism: 1 Allocating 30720000 bytes Hash: 4101658ddd3e0555cdf10036b9d90ee2e72084f8d1b119af5aa774f1e938592b Encoded: $argon2i$v=19$m=30000,t=12,p=1$c2FsdGhlcmU$QQFljd0+BVXN8QA2udkO4ucghPjRsRmvWqd08ek4WSs 0.200 seconds Verification ok And let's crack it: $ cat pw-argon $argon2i$v=19$m=30000,t=12,p=1$c2FsdGhlcmU$QQFljd0+BVXN8QA2udkO4ucghPjRsRmvWqd08ek4WSs $ ./john pw-argon Using default input encoding: UTF-8 Loaded 1 password hash (argon2 [Blake2 AVX]) Cost 1 (t) is 12 for all loaded hashes Cost 2 (m) is 30000 for all loaded hashes Cost 3 (p) is 1 for all loaded hashes Cost 4 (type [0:Argon2d 1:Argon2i]) is 1 for all loaded hashes Will run 32 OpenMP threads Proceeding with single, rules:Single Press 'q' or Ctrl-C to abort, almost any other key for status Almost done: Processing the remaining buffered candidate passwords, if any. Proceeding with wordlist:./password.lst, rules:Wordlist password (?) 1g 0:00:00:10 DONE 2/3 (2019-11-30 12:44) 0.09523g/s 48.76p/s 48.76c/s 48.76C/s 123456..crawford Use the "--show" option to display all of the cracked passwords reliably Session completed $ ./john --show pw-argon ?:password 1 password hash cracked, 0 left Alexander
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.