mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-12 02:58:48 +00:00
-m 11600: additional check for padding attack in case of unsupported coder
This commit is contained in:
parent
2845f0e716
commit
2bf49d424c
@ -11331,6 +11331,8 @@ int seven_zip_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_
|
|||||||
seven_zip->padding_check_full = false;
|
seven_zip->padding_check_full = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (data_type != 0x80)
|
||||||
|
{
|
||||||
if (data_type > 2)
|
if (data_type > 2)
|
||||||
{
|
{
|
||||||
if (margin < 4) // we can't be sure about too many false positives
|
if (margin < 4) // we can't be sure about too many false positives
|
||||||
@ -11338,6 +11340,7 @@ int seven_zip_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_
|
|||||||
return (PARSER_SALT_VALUE);
|
return (PARSER_SALT_VALUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// real salt
|
// real salt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user