1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-24 07:28:37 +00:00

Merge pull request #4310 from matrix/fix_3100

fix min salt (username) len with hash-mode 3100
This commit is contained in:
hashcat-bot 2025-07-11 07:41:00 +02:00 committed by GitHub
commit 53403f429d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
token.attr[0] = TOKEN_ATTR_FIXED_LENGTH
| TOKEN_ATTR_VERIFY_HEX;
token.len_min[1] = 0;
token.len_min[1] = 1;
token.len_max[1] = 30;
token.attr[1] = TOKEN_ATTR_VERIFY_LENGTH;

View File

@ -10,7 +10,7 @@ use warnings;
use Crypt::CBC;
sub module_constraints { [[-1, -1], [-1, -1], [0, 30], [0, 30], [-1, -1]] }
sub module_constraints { [[-1, -1], [-1, -1], [0, 30], [1, 30], [-1, -1]] }
sub module_generate_hash
{