[GH-ISSUE #327] opencl mscash2 #68

Closed
opened 2026-10-14 02:51:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @jfoug on GitHub (Jun 8, 2013).
Original GitHub issue: https://github.com/openwall/john/issues/327

As written, code allows for 31 char passwords, but any password over 27 characters blows buffers and is not detected.

Instead of just 'patching' this, we should remove the inlined MD4 code, that is limited to 1 block, and simply switch to using oSSL code to compute the DCC. Dropping the current MD4 code would easily allow for 'full' sized passwords (125 byte is JtR max), without any change to the rest of the dcc2 code.

Originally created by @jfoug on GitHub (Jun 8, 2013). Original GitHub issue: https://github.com/openwall/john/issues/327 As written, code allows for 31 char passwords, but any password over 27 characters blows buffers and is not detected. Instead of just 'patching' this, we should remove the inlined MD4 code, that is limited to 1 block, and simply switch to using oSSL code to compute the DCC. Dropping the current MD4 code would easily allow for 'full' sized passwords (125 byte is JtR max), without any change to the rest of the dcc2 code.
Author
Owner

@jfoug commented on GitHub (Jun 8, 2013):

opencl mscash2 now handles 125 byte password. Very trivial fix. We should also be able to handle 128 byte usernames (salts), but I have not dug into that one yet.

Tested on bull. No speed loss (if anything about 500/s faster).

<!-- gh-comment-id:19146858 --> @jfoug commented on GitHub (Jun 8, 2013): opencl mscash2 now handles 125 byte password. Very trivial fix. We should also be able to handle 128 byte usernames (salts), but I have not dug into that one yet. Tested on bull. No speed loss (if anything about 500/s faster).
Author
Owner

@kholia commented on GitHub (Jun 8, 2013):

thanks Jim!

closing this issue now.

<!-- gh-comment-id:19150545 --> @kholia commented on GitHub (Jun 8, 2013): thanks Jim! closing this issue now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#68
No description provided.