1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 15:18:16 +00:00

Merge pull request #1549 from philsmd/patch-3

7-Zip: increase the crc length to parse hashes with highly compressed data part
This commit is contained in:
Jens Steube 2018-06-12 16:26:54 +02:00 committed by GitHub
commit 1ba5b4259e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12281,7 +12281,7 @@ int seven_zip_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_
if (is_compressed == true) if (is_compressed == true)
{ {
if (crc_len_len > 6) return (PARSER_SALT_VALUE); if (crc_len_len > 7) return (PARSER_SALT_VALUE);
if (coder_attributes_len > 10) return (PARSER_SALT_VALUE); if (coder_attributes_len > 10) return (PARSER_SALT_VALUE);