mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-13 19:28:56 +00:00
CRAM_MD5 throws salt length exception when the issue is in the hash
This commit is contained in:
parent
804ee28ff1
commit
d4dfe58a72
@ -16949,7 +16949,7 @@ int crammd5_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
|
||||
|
||||
hash_len = base64_decode (base64_to_int, (const u8 *) hash_pos, hash_len, tmp_buf);
|
||||
|
||||
if (hash_len < 32 + 1) return (PARSER_SALT_LENGTH);
|
||||
if (hash_len < 32 + 1) return (PARSER_HASH_LENGTH);
|
||||
|
||||
uint user_len = hash_len - 32;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user