mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-09 15:20:59 +00:00
Disable pure kernel check for -m 24900 in unit tests. This kernel does not exist.
This commit is contained in:
parent
dc79983bc9
commit
483b30ea63
@ -11,7 +11,7 @@ use MIME::Base64 qw (encode_base64 decode_base64);
|
|||||||
|
|
||||||
use Digest::MD5 qw (md5);
|
use Digest::MD5 qw (md5);
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [-1, -1], [0, 55], [-1, -1], [-1, -1]] }
|
sub module_constraints { [[-1, -1], [-1, -1], [0, 55], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
my $itoa62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
my $itoa62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
||||||
|
|
||||||
@ -27,8 +27,6 @@ sub module_generate_hash
|
|||||||
{
|
{
|
||||||
$chksum[$j] = (ord (substr ($digest, $i + 0, 1)) + ord (substr ($digest, $i + 1, 1))) % 62;
|
$chksum[$j] = (ord (substr ($digest, $i + 0, 1)) + ord (substr ($digest, $i + 1, 1))) % 62;
|
||||||
|
|
||||||
printf ("%d\n", $chksum[$j]);
|
|
||||||
|
|
||||||
$chksum[$j] = substr ($itoa62, $chksum[$j], 1);
|
$chksum[$j] = substr ($itoa62, $chksum[$j], 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user