mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
Fixed internal access on module option attribute OPTS_TYPE_SUGGEST_KG with the result that it was unused
This commit is contained in:
parent
36480b99c1
commit
9560bfc7a4
@ -11,6 +11,7 @@
|
||||
##
|
||||
|
||||
- Fixed too early execution of some module functions which could make use of non-final values opts_type and opti_type
|
||||
- Fixed internal access on module option attribute OPTS_TYPE_SUGGEST_KG with the result that it was unused
|
||||
|
||||
* changes v6.1.0 -> v6.1.1
|
||||
|
||||
|
@ -296,7 +296,7 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (hashconfig->opti_type & OPTS_TYPE_SUGGEST_KG)
|
||||
if (hashconfig->opts_type & OPTS_TYPE_SUGGEST_KG)
|
||||
{
|
||||
if (user_options->quiet == false)
|
||||
{
|
||||
|
@ -2702,8 +2702,14 @@ int user_options_check_files (hashcat_ctx_t *hashcat_ctx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
const bool quiet_save = user_options->quiet;
|
||||
|
||||
user_options->quiet = true;
|
||||
|
||||
const int rc = hashconfig_init (hashcat_ctx);
|
||||
|
||||
user_options->quiet = quiet_save;
|
||||
|
||||
if (rc == -1) return -1;
|
||||
|
||||
hashconfig_destroy (hashcat_ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user