mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 22:58:30 +00:00
Merge pull request #3489 from Lars-Saetaberget/lastpass_bugfix
Fix bug in -m 6800 where not all hashes are checked if they have the same salt
This commit is contained in:
commit
e34a9244f3
@ -181,6 +181,9 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
const bool parse_rc = generic_salt_decode (hashconfig, salt_pos, salt_len, (u8 *) salt->salt_buf, (int *) &salt->salt_len);
|
const bool parse_rc = generic_salt_decode (hashconfig, salt_pos, salt_len, (u8 *) salt->salt_buf, (int *) &salt->salt_len);
|
||||||
|
|
||||||
|
// Add first word of ciphertext to salt struct to ensure correct grouping in the kernel _comp function
|
||||||
|
salt->salt_buf[63] = digest[0];
|
||||||
|
|
||||||
if (parse_rc == false) return (PARSER_SALT_LENGTH);
|
if (parse_rc == false) return (PARSER_SALT_LENGTH);
|
||||||
|
|
||||||
lastpass_t *lastpass = (lastpass_t *) esalt_buf;
|
lastpass_t *lastpass = (lastpass_t *) esalt_buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user