1
mirror of https://github.com/hashcat/hashcat synced 2025-01-03 11:16:23 +01:00

A few fixes on unit tests

This commit is contained in:
jsteube 2019-02-14 17:50:47 +01:00
parent 72050ee796
commit 9310b534f4
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ use Digest::SHA qw (sha256);
use MIME::Base64 qw (encode_base64 decode_base64);
use Encode;
sub module_constraints { [[0, 255], [0, 255], [0, 27], [0, 55], [0, 27]] }
sub module_constraints { [[0, 255], [0, 255], [0, 27], [0, 27], [0, 27]] }
sub module_generate_hash
{

View File

@ -27,7 +27,7 @@ sub module_generate_hash
my $snonce = random_bytes (32);
my $anonce = random_bytes (32);
my $keyver = random_number (1, 4); # 1, 2 or 3
my $keyver = random_number (1, 3); # 1, 2 or 3
# eapol:
# should be "validly" generated, but in theory could be anything for us also:

View File

@ -10,7 +10,7 @@ use warnings;
use Digest::MD5 qw (md5_hex);
sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 15], [0, 55]] }
sub module_constraints { [[0, 255], [0, 255], [0, 50], [0, 15], [0, 55]] }
sub module_generate_hash
{