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:
commit
a9cdd4cef8
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user