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

cleanup m26600.pm

This commit is contained in:
Gabriele Gristina 2021-07-04 15:52:25 +02:00
parent 2d149164d2
commit 1a34eba9f4

View File

@ -89,8 +89,6 @@ sub module_verify_hash
my (undef, $signature, $salt, $iv, $ct) = split '\$', $hash;
printf "AAAA";
return unless defined $signature;
return unless defined $salt;
return unless defined $iv;
@ -100,14 +98,10 @@ printf "AAAA";
my $iv_bin = decode_base64 ($iv);
my $ct_bin = decode_base64 ($ct);
printf "BBBB";
return unless length $salt_bin == 32;
return unless length $iv_bin == 16;
return unless length $ct_bin == 185;
printf "CCCC";
my $word_packed = pack_if_HEX_notation ($word);
my $new_hash = module_generate_hash ($word_packed, unpack ("H*", $salt_bin), unpack ("H*", $iv_bin), unpack ("H*", $ct_bin));