mirror of
https://github.com/hashcat/hashcat
synced 2024-11-24 14:27:14 +01:00
Fix use of test.pl from test.sh
This commit is contained in:
parent
c0e83dc471
commit
c5fb8ab2e8
@ -55,7 +55,7 @@ sub single
|
|||||||
|
|
||||||
undef $len unless is_count ($len);
|
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++)
|
for (my $i = 1; $i <= 32; $i++)
|
||||||
{
|
{
|
||||||
@ -167,7 +167,7 @@ sub random_hex_string
|
|||||||
|
|
||||||
my $string;
|
my $string;
|
||||||
|
|
||||||
$string .= sprintf("%x", rand 16) for (1 .. $count);
|
$string .= sprintf ("%x", rand 16) for (1 .. $count);
|
||||||
|
|
||||||
return $string;
|
return $string;
|
||||||
}
|
}
|
||||||
@ -180,7 +180,7 @@ sub random_numeric_string
|
|||||||
|
|
||||||
my $string;
|
my $string;
|
||||||
|
|
||||||
$string .= sprintf("%d", rand 10) for (1 .. $count);
|
$string .= sprintf ("%d", rand 10) for (1 .. $count);
|
||||||
|
|
||||||
return $string;
|
return $string;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user