1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-16 17:42:04 +00:00

Fix test.pl single mode if password is '0'

This commit is contained in:
jsteube 2018-12-27 16:31:36 +01:00
parent 7538e82b72
commit 2afb4e0f36

View File

@ -115,8 +115,8 @@ sub single
$idx++;
my $word = random_numeric_string ($word_len) || "";
my $salt = random_numeric_string ($salt_len) || "";
my $word = random_numeric_string ($word_len) // "";
my $salt = random_numeric_string ($salt_len) // "";
my $hash = module_generate_hash ($word, $salt);
@ -165,7 +165,7 @@ sub passthrough
$idx++;
my $salt = random_numeric_string ($salt_len) || "";
my $salt = random_numeric_string ($salt_len) // "";
my $hash = module_generate_hash ($word, $salt);