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

verify test fix for -m 30700 = Anope IRC Services

This commit is contained in:
philsmd 2023-08-19 11:50:10 +02:00
parent 91095845b9
commit 9807494f46
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -52,12 +52,15 @@ sub module_verify_hash
{
my $line = shift;
my ($hash, $salt, $word) = split (':', $line);
my ($signature, $digest, $salt, $word) = split (':', $line);
return unless defined $hash;
return unless defined $signature;
return unless defined $digest;
return unless defined $salt;
return unless defined $word;
return unless ($signature eq "sha256");
my $word_packed = pack_if_HEX_notation ($word);
my $new_hash = module_generate_hash ($word_packed, $salt);