Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 16 Jan 2013 05:04:39 +0100
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: CUDA broken -dev option in some formats

Seems that some formats didn't respect -dev option given by command line.
Invalid CUDA device id is what we expect.
Fix attached.


jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=mscash2-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=mscash-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=md5crypt-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=phpass-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=raw-sha224-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=raw-sha256-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=raw-sha512-cuda -dev=5
Benchmarking: Raw SHA-512 [CUDA (inefficient, development use mostly)]... DONE
Raw:	27512K c/s real, 27512K c/s virtual

jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=wpapsk-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=xsha512-cuda -dev=5
Benchmarking: Mac OS X 10.7+ salted SHA-512 [CUDA (efficient at "many
salts" only)]... DONE
Many salts:	41008K c/s real, 41418K c/s virtual
Only one salt:	16448K c/s real, 16611K c/s virtual

jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=pwsafe-cuda -dev=5
Benchmarking: Password Safe SHA-256 [CUDA]... DONE
Raw:	97330 c/s real, 97330 c/s virtual

jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=sha256crypt-cuda -dev=5
Invalid CUDA device id = 5
jtr@...master:~/ukasz/JohnTheRipper-unstable-jumbo/src$ ../run/john
-test -fo=sha512crypt-cuda -dev=5
Invalid CUDA device id = 5

[ CONTENT OF TYPE application/octet-stream SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ