1
0
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:
radix 2016-07-28 10:38:31 -05:00
parent 804ee28ff1
commit d4dfe58a72
No known key found for this signature in database
GPG Key ID: 60B13472825081C1

View File

@ -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;