1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-04 21:05:21 +00:00

test: fixed verify code for -m 16600 = Electrum Wallet

This commit is contained in:
philsmd 2018-08-04 19:26:42 +02:00
parent 1d7e1ba7e5
commit 883336089e

View File

@ -9720,13 +9720,11 @@ END_CODE
{ {
my $encrypted_bin = pack ("H*", $additional_param3); my $encrypted_bin = pack ("H*", $additional_param3);
my $test_bin = $cipher->decrypt ($encrypted_bin); my $test = $cipher->decrypt ($encrypted_bin);
my $test = unpack ("H*", $test_bin);
if ($test =~ /^[0-9a-f]+$/) if ($test =~ /^[0-9a-f]+$/)
{ {
$plain_bin = $test_bin; $plain_bin = $test;
} }
else else
{ {