1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

Fix correct byte pattern and salt length in unit-test for -m 31200

This commit is contained in:
jsteube 2023-02-27 11:52:10 +00:00
parent f36f90e898
commit 52fa024c1b

View File

@ -13,7 +13,7 @@ use Digest::SHA qw (sha1);
use Crypt::CBC;
use Encode;
sub module_constraints { [[0, 256], [32, 32], [-1, -1], [-1, -1], [-1, -1]] }
sub module_constraints { [[0, 256], [128, 128], [-1, -1], [-1, -1], [-1, -1]] }
sub module_generate_hash
{
@ -63,7 +63,7 @@ sub module_generate_hash
}
else
{
$pt = "\xff" x 16;
$pt = "\x30\x30\x30\x30\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c";
}
my $aes_cbc = Crypt::CBC->new ({