mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #951] HDAA format will not dupe remove same salts. #552
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#552
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 @jfoug on GitHub (Dec 25, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/951
I have not checked this for sure, BUT looking at this, it allocates an array that holds each of the fields, then allocated into those fields, and that is part of the salt. No way would this detect dupe salts.
This should either be a dyna salt, or better yet, the 12 fields (if needed), should be inline fixed sized char buffers, so the salt logic works properly.
@jfoug commented on GitHub (Dec 26, 2014):
Before fix:
After fix:
This format was allocating an array of pointers, then allocating a buffer for each of those (each element), and putting that into the salt. NONE of that data was being used. All the data 'used' is pre-computed and put into the 3 fixed sized fields. SO proper salt dupe removal was simply removing that extra stuff from being stored in the salt.