From c5fb8ab2e8541c5f7ae593a96fd543f41bb5a0f2 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 21 Dec 2018 09:20:16 +0100 Subject: [PATCH] Fix use of test.pl from test.sh --- tools/test.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/test.pl b/tools/test.pl index 524052872..09638411a 100755 --- a/tools/test.pl +++ b/tools/test.pl @@ -55,7 +55,7 @@ sub single undef $len unless is_count ($len); - my $format = "echo -n %-32s | ./hashcat \${OPTS} -a0 -m%d '%s'\n"; + my $format = "echo -n %-32s | ./hashcat \${OPTS} -a 0 -m %d '%s'\n"; for (my $i = 1; $i <= 32; $i++) { @@ -167,7 +167,7 @@ sub random_hex_string my $string; - $string .= sprintf("%x", rand 16) for (1 .. $count); + $string .= sprintf ("%x", rand 16) for (1 .. $count); return $string; } @@ -180,7 +180,7 @@ sub random_numeric_string my $string; - $string .= sprintf("%d", rand 10) for (1 .. $count); + $string .= sprintf ("%d", rand 10) for (1 .. $count); return $string; }