1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

Fix use of test.pl from test.sh

This commit is contained in:
jsteube 2018-12-21 09:20:16 +01:00
parent c0e83dc471
commit c5fb8ab2e8

View File

@ -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;
}