mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 22:58:30 +00:00
Merge pull request #1646 from philsmd/master
test: fixed verify code for -m 16600 = Electrum Wallet
This commit is contained in:
commit
af2626e67a
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user