mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Merge pull request #3732 from matrix/fix_modules_constraints_NOSALT
Unit Test: removes salt constraints if no salt is used
This commit is contained in:
commit
d3f7c5132c
@ -11,7 +11,7 @@ use warnings;
|
|||||||
use Digest::MD5 qw (md5_hex);
|
use Digest::MD5 qw (md5_hex);
|
||||||
use Encode;
|
use Encode;
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ use warnings;
|
|||||||
use Digest::SHA1 qw (sha1_hex);
|
use Digest::SHA1 qw (sha1_hex);
|
||||||
use Encode;
|
use Encode;
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ use warnings;
|
|||||||
use Digest::SHA qw (sha256_hex);
|
use Digest::SHA qw (sha256_hex);
|
||||||
use Encode;
|
use Encode;
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ use warnings;
|
|||||||
use Digest::SHA qw (sha512_hex);
|
use Digest::SHA qw (sha512_hex);
|
||||||
use Encode;
|
use Encode;
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@ use warnings;
|
|||||||
use Digest::SHA qw (sha384_hex);
|
use Digest::SHA qw (sha384_hex);
|
||||||
use Encode;
|
use Encode;
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 55], [0, 55], [-1, -1]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 55], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,7 @@ use Digest::HMAC qw (hmac);
|
|||||||
use Encode qw (encode);
|
use Encode qw (encode);
|
||||||
use MIME::Base64 qw (encode_base64);
|
use MIME::Base64 qw (encode_base64);
|
||||||
|
|
||||||
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
|
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
|
||||||
|
|
||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user