mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
verify test fix for -m 3730 = md5($s1.uc(md5($s2.$p)))
This commit is contained in:
parent
91095845b9
commit
1dcc0e2868
@ -29,17 +29,18 @@ sub module_verify_hash
|
|||||||
{
|
{
|
||||||
my $line = shift;
|
my $line = shift;
|
||||||
|
|
||||||
my ($hash, $salt, $word) = split (':', $line);
|
my ($hash, $salt1, $salt2, $word) = split (':', $line);
|
||||||
|
|
||||||
return unless defined $hash;
|
return unless defined $hash;
|
||||||
return unless defined $salt;
|
return unless defined $salt1;
|
||||||
|
return unless defined $salt2;
|
||||||
return unless defined $word;
|
return unless defined $word;
|
||||||
|
|
||||||
my $word_packed = pack_if_HEX_notation ($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);
|
return ($new_hash, $word);
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user