mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Update prestashop salt length
Modify prestashop salt length from 56 to be [56, 64]
This commit is contained in:
parent
6716447dfc
commit
668d032385
@ -54,7 +54,7 @@ u32 module_salt_min (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c
|
||||
|
||||
u32 module_salt_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
||||
{
|
||||
const u32 salt_max = 56;
|
||||
const u32 salt_max = 64;
|
||||
|
||||
return salt_max;
|
||||
}
|
||||
@ -74,8 +74,9 @@ 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[1] = 56;
|
||||
token.attr[1] = TOKEN_ATTR_FIXED_LENGTH;
|
||||
token.len_min[1] = 56;
|
||||
token.len_max[1] = 64;
|
||||
token.attr[1] = TOKEN_ATTR_VERIFY_LENGTH;
|
||||
|
||||
const int rc_tokenizer = input_tokenizer ((const u8 *) line_buf, line_len, &token);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user