mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
parent
1dd8caf3b1
commit
1cee512c09
@ -77,6 +77,13 @@ u32 module_kernel_loops_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_
|
|||||||
return kernel_loops_max;
|
return kernel_loops_max;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u32 module_pw_min (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 pw_min = 8;
|
||||||
|
|
||||||
|
return pw_min;
|
||||||
|
}
|
||||||
|
|
||||||
u32 module_pw_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)
|
u32 module_pw_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)
|
||||||
{
|
{
|
||||||
// this overrides the reductions of PW_MAX in case optimized kernel is selected
|
// this overrides the reductions of PW_MAX in case optimized kernel is selected
|
||||||
@ -477,7 +484,7 @@ void module_init (module_ctx_t *module_ctx)
|
|||||||
module_ctx->module_potfile_keep_all_hashes = MODULE_DEFAULT;
|
module_ctx->module_potfile_keep_all_hashes = MODULE_DEFAULT;
|
||||||
module_ctx->module_pwdump_column = MODULE_DEFAULT;
|
module_ctx->module_pwdump_column = MODULE_DEFAULT;
|
||||||
module_ctx->module_pw_max = module_pw_max;
|
module_ctx->module_pw_max = module_pw_max;
|
||||||
module_ctx->module_pw_min = MODULE_DEFAULT;
|
module_ctx->module_pw_min = module_pw_min;
|
||||||
module_ctx->module_salt_max = MODULE_DEFAULT;
|
module_ctx->module_salt_max = MODULE_DEFAULT;
|
||||||
module_ctx->module_salt_min = MODULE_DEFAULT;
|
module_ctx->module_salt_min = MODULE_DEFAULT;
|
||||||
module_ctx->module_salt_type = module_salt_type;
|
module_ctx->module_salt_type = module_salt_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user