Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 May 2015 23:27:25 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: ./john --test=2xxxxx

Solar,

Options that expect integer values shouldn't allow garbage values.

$ ./john --test=2xxx
Benchmarking: descrypt, traditional crypt(3) [DES 128/128 AVX-16]... DONE
Many salts:    5044K c/s real, 5044K c/s virtual
Only one salt:    5087K c/s real, 5113K c/s virtual

Benchmarking: bsdicrypt, BSDI crypt(3) ("_J9..", 725 iterations) [DES
128/128 AVX-16]... DONE
Many salts:    174976 c/s real, 174976 c/s virtual
Only one salt:    168576 c/s real, 168576 c/s virtual

Benchmarking: md5crypt [MD5 32/64 X2]... ^CWait...
Session aborted


I noticed this when I tested jumbo and forgot to add a space after --test=2.

$ ../run/john --test=10--format=sunmd5
Will run 32 OpenMP threads
Benchmarking: descrypt, traditional crypt(3) [DES 128/128 AVX-16]...
(32xOMP) ^CWait...
Session aborted


Negative values shouldn't be allowed, either:

$ time ./john --test=-2 --format=descrypt
Benchmarking: descrypt, traditional crypt(3) [DES 128/128 AVX-16]...
^CWait...
Session aborted

real    0m38.544s
user    0m38.519s
sys    0m0.004s



Frank

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.