1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 15:18:16 +00:00

Merge pull request #3026 from jarlethorsen/patch1

Increase maximum value for s2k-count
This commit is contained in:
Jens Steube 2021-11-08 10:14:25 +01:00 committed by GitHub
commit a9cdd4cef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
const u32 salt_iter = hc_strtoul ((const char *) token.buf[11], NULL, 10); const u32 salt_iter = hc_strtoul ((const char *) token.buf[11], NULL, 10);
if (salt_iter < 8 || salt_iter > 1000000) return (PARSER_SALT_ITERATION); if (salt_iter < 8 || salt_iter > 65011712) return (PARSER_SALT_ITERATION);
salt->salt_iter = salt_iter; salt->salt_iter = salt_iter;