mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #85] macosx-x86-64-opencl: md5crypt-opencl slower than md5 #7
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hubert3 on GitHub (Sep 13, 2012).
Original GitHub issue: https://github.com/openwall/john/issues/85
Hi,
checked out today and compiled on my MacBook Pro (10.8.1, 2.2 GHz i7, Xcode 4.4.1).
make macosx-x86-64-opencl worked fine.
Format md5crypt-opencl seems to work (it finds a password) but it's much slower than md5.
I get about 22000 c/s on md5 but only up to half that with md5crypt-opencl.
The desktop also becomes very unresponsive in opencl mode, whereas it's fine in CPU mode.
$ ./john ~/combined.shadow
Warning: detected hash type "md5", but the string is also recognized as "md5crypt-opencl"
Use the "--format=md5crypt-opencl" option to force loading these as that type instead
Loaded 14 password hashes with 12 different salts (FreeBSD MD5 [128/128 SSE2 intrinsics 12x])
Remaining 12 password hashes with 11 different salts
guesses: 0 time: 0:00:00:01 0.41% (2) (ETA: Thu Sep 13 20:32:48 2012) c/s: 22273 trying: francine - golden
guesses: 0 time: 0:00:00:25 28.40% (2) (ETA: Thu Sep 13 20:30:13 2012) c/s: 22885 trying: trebor4 - warrior4
guesses: 0 time: 0:00:00:26 29.50% (2) (ETA: Thu Sep 13 20:30:13 2012) c/s: 22891 trying: corwin4 - dale4
guesses: 0 time: 0:00:00:27 30.57% (2) (ETA: Thu Sep 13 20:30:13 2012) c/s: 22890 trying: karma8 - kitten8
guesses: 0 time: 0:00:00:28 31.69% (2) (ETA: Thu Sep 13 20:30:13 2012) c/s: 22896 trying: disney6 - james6
guesses: 0 time: 0:00:05:18 0.00% (3) c/s: 22668 trying: ponis - ponna
guesses: 0 time: 0:00:05:39 0.00% (3) c/s: 22719 trying: sophaw - sophie
$ ./john ~/combined.shadow --format=md5crypt-opencl
OpenCL platform 0: Apple, 2 device(s).
Using device 1: ATI Radeon HD 6750M
Loaded 14 password hashes with 12 different salts (md5crypt [OpenCL])
Remaining 12 password hashes with 11 different salts
guesses: 0 time: 0:00:00:14 83.45% (1) (ETA: Thu Sep 13 20:35:01 2012) c/s: 0.00
guesses: 0 time: 0:00:00:45 5.26% (2) (ETA: Thu Sep 13 20:49:00 2012) c/s: 736 trying: 123456 - bens
guesses: 0 time: 0:00:01:23 26.33% (2) (ETA: Thu Sep 13 20:39:59 2012) c/s: 6382 trying: matthew7 - notused5
guesses: 0 time: 0:00:01:32 33.29% (2) (ETA: Thu Sep 13 20:39:20 2012) c/s: 7050 trying: sss5 - woodrow6
guesses: 0 time: 0:00:01:37 38.53% (2) (ETA: Thu Sep 13 20:38:56 2012) c/s: 7421 trying: ayelet6 - thelorax?
guesses: 0 time: 0:00:02:06 57.90% (2) (ETA: Thu Sep 13 20:38:21 2012) c/s: 8734 trying: 4mickey - Doc!
guesses: 0 time: 0:00:03:13 99.85% (2) (ETA: Thu Sep 13 20:37:58 2012) c/s: 9881 trying: Xxxing - Sssing
guesses: 0 time: 0:00:03:35 0.00% (3) c/s: 8894 trying: 1952 - shestier
guesses: 0 time: 0:00:03:39 0.00% (3) c/s: 8994 trying: 1952 - shestier
guesses: 0 time: 0:00:03:43 0.00% (3) c/s: 9145 trying: shesties - 0320701
guesses: 0 time: 0:00:03:46 0.00% (3) c/s: 9223 trying: shesties - 0320701
guesses: 0 time: 0:00:03:48 0.00% (3) c/s: 9309 trying: shesties - 0320701
guesses: 0 time: 0:00:04:03 0.00% (3) c/s: 9756 trying: monnin1 - colier2
guesses: 0 time: 0:00:04:05 0.00% (3) c/s: 9796 trying: monnin1 - colier2
guesses: 0 time: 0:00:04:07 0.00% (3) c/s: 9836 trying: monnin1 - colier2
guesses: 0 time: 0:00:04:09 0.00% (3) c/s: 9925 trying: carista - alpcba
guesses: 0 time: 0:00:04:11 0.00% (3) c/s: 9965 trying: carista - alpcba
guesses: 0 time: 0:00:04:24 0.00% (3) c/s: 10314 trying: ceslts - sporn
@magnumripper commented on GitHub (Sep 14, 2012):
Yeah the "fast" formats kinda suck so far, we have core changes pending to fix that. Some slower formats like phpass-opencl and msoffice-opencl are quite competitive I think.
The unresponsiveness is also a "to do" (per format) but to me it's less important.
Also, we have some legacy weirdness with self-tests that make the reported performance of GPU formats, when running with actual hashes like you did, show much lower than actual in the beginning of a session. The speed will be way higher after an hour than after a minute, despite the speed was the same all the time. But crypt-md5 has known problems that Lukas is working on.