1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

verify test fix for -m 3730 = md5($s1.uc(md5($s2.$p)))

This commit is contained in:
philsmd 2023-08-19 11:45:58 +02:00
parent 91095845b9
commit 1dcc0e2868
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -29,15 +29,16 @@ sub module_verify_hash
{
my $line = shift;
my ($hash, $salt, $word) = split (':', $line);
my ($hash, $salt1, $salt2, $word) = split (':', $line);
return unless defined $hash;
return unless defined $salt;
return unless defined $salt1;
return unless defined $salt2;
return unless defined $word;
my $word_packed = pack_if_HEX_notation ($word);
my $new_hash = module_generate_hash ($word_packed, $salt);
my $new_hash = module_generate_hash ($word_packed, $salt1, $salt2);
return ($new_hash, $word);
}