mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-29 03:18:30 +00:00
Made all module_constraints [32,32].
This commit is contained in:
parent
30fe29b8a8
commit
2814f7f910
@ -91,7 +91,7 @@ sub get_random_netntlmv1_salt
|
|||||||
return $salt_buf;
|
return $salt_buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub module_constraints { [[32, 32], [-1, -1], [0, 27], [-1, -1], [-1, -1]] } # room for improvement in pure kernel mode
|
sub module_constraints { [[32, 32], [-1, -1], [32, 32], [-1, -1], [-1, -1]] } # room for improvement in pure kernel mode
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
@ -166,9 +166,9 @@ sub module_verify_hash
|
|||||||
|
|
||||||
my $word = substr ($line, $index2 + 1 + 16 + 1);
|
my $word = substr ($line, $index2 + 1 + 16 + 1);
|
||||||
|
|
||||||
my $word_packed = pack ("H*", $word);
|
# my $word_packed = pack ("H*", $word);
|
||||||
|
|
||||||
my $new_hash = module_generate_hash ($word_packed, undef, $salt);
|
my $new_hash = module_generate_hash ($word, undef, $salt);
|
||||||
|
|
||||||
return ($new_hash, $word);
|
return ($new_hash, $word);
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ use Digest::HMAC qw (hmac hmac_hex);
|
|||||||
use Digest::MD5 qw (md5);
|
use Digest::MD5 qw (md5);
|
||||||
use Encode qw (encode);
|
use Encode qw (encode);
|
||||||
|
|
||||||
sub module_constraints { [[32, 32], [32, 32], [32, 32], [0, 27], [-1, -1]] }
|
sub module_constraints { [[32, 32], [32, 32], [32, 32], [32, 32], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user