1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 01:50:10 +00:00

7-Zip: increase the crc length to parse

Similar to the increase done with this commit: d382400805
we need to increase the crc length again such that hashcat can load hashes corresponding to some very highly compressed files within the 7-Zip archive. 

For reference, this problem was first reported here: https://hashcat.net/forum/thread-7378.html :

as you can see
```
...$1059026$5d00001000): Salt-value exception
```

The value 1059026 is about 1MB of decrypted and decompressed data that needs to be checksummed.
This commit is contained in:
philsmd 2018-03-22 09:52:40 +01:00 committed by GitHub
parent f6cfcbbc3a
commit 7d6c0d746c
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 (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);