Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 3 Feb 2017 15:27:33 +0100
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: to Single or not to Single

On Fri, Feb 03, 2017 at 03:10:22PM +0100, Patrick Proniewski wrote:
> I've taken a smaller sample of data (400k lines) to benchmark single mode and grabbed status line at different time: 
> 
> 140359g 0:00:00:51 50.00% (ETA: 14:13:44) 2738g/s 5220p/s 5220c/s 5220C/s mommysgurl
> 198794g 0:00:01:57 50.00% (ETA: 14:15:56) 1695g/s 3230p/s 3230c/s 3230C/s brat2728
> 227500g 0:00:02:56 50.00% (ETA: 14:17:54) 1290g/s 2456p/s 2456c/s 2456C/s geneen1
> 256269g 0:00:04:21 50.00% (ETA: 14:20:44) 980.8g/s 1869p/s 1869c/s 1869C/s trares75
> 273837g 0:00:05:19 DONE (2017-02-03 14:17) 857.1g/s 1634p/s 1634c/s 1634C/s kiosk1988
> 
> As you can see, there is a blatant slowdown.

Yes, thanks.  Can you also show the Loaded and Remaining lines, please?

In what way did you disable the rules?

Here's my test with 1 million dynamic_25 hashes, all different salts:

$ time ./john --single --nolog --verbosity=1 pw-1M 
Using default input encoding: UTF-8
Loaded 1000000 password hashes with 1000000 different salts (dynamic_25 [sha1($s.$p) 128/128 AVX 4x1])
Press 'q' or Ctrl-C to abort, almost any other key for status
806472g 0:00:00:04 50.00% (ETA: 17:22:38) 186683g/s 186683p/s 186683c/s 186683C/s nsgr
1000000g 0:00:00:05 DONE (2017-02-03 17:22) 177304g/s 177304p/s 177304c/s 177304C/s abtvb
Session completed

real    0m10.380s
user    0m6.598s
sys     0m2.781s

This was with empty john.pot (so no Remaining line here), the
"[List.Rules:Single]" section containing only a colon (the no-op rule),
and "SingleRetestGuessed = N" uncommented.

As you can see, the speeds aren't great, but are far better than yours.

This is also on one CPU core, just like yours.  Linux and no VM, though.

The hashes were generated with:

perl -e 'use Digest::SHA qw(sha1_hex); $p="a"; for ($i=0;$i<1000000;$i++) {$s=substr(sha1_hex($p), 16); $h=sha1_hex($s.$p); print "$p:\$dynamic_25\$$h\$$s\n"; $p++;}' > pw-1M

You can generate the same pw-1M test file for a direct comparison
against my results.

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.