diff --git a/include/types.h b/include/types.h index 652378596..2e9b1face 100644 --- a/include/types.h +++ b/include/types.h @@ -637,7 +637,7 @@ typedef enum user_options_defaults BRAIN_SESSION = 0, #endif DEBUG_MODE = 0, - DEPRECATED_CHECK_DISABLE = false, + DEPRECATED_CHECK = true, FORCE = false, HWMON_DISABLE = false, #if defined (__APPLE__) @@ -2331,7 +2331,7 @@ typedef struct user_options bool brain_server; #endif bool force; - bool deprecated_check_disable; + bool deprecated_check; bool hwmon_disable; bool hash_info; bool hex_charset; diff --git a/src/hashcat.c b/src/hashcat.c index 77db34285..fb99c97f4 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -547,7 +547,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx) if (module_ctx->module_deprecated_notice != MODULE_DEFAULT) { - if (user_options->deprecated_check_disable == false) + if (user_options->deprecated_check == true) { if ((user_options->show == true) || (user_options->left == true)) { diff --git a/src/user_options.c b/src/user_options.c index e11a792ae..7605d4789 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -204,7 +204,7 @@ int user_options_init (hashcat_ctx_t *hashcat_ctx) user_options->custom_charset_4 = NULL; user_options->debug_file = NULL; user_options->debug_mode = DEBUG_MODE; - user_options->deprecated_check_disable = DEPRECATED_CHECK_DISABLE; + user_options->deprecated_check = DEPRECATED_CHECK; user_options->encoding_from = ENCODING_FROM; user_options->encoding_to = ENCODING_TO; user_options->force = FORCE; @@ -397,7 +397,7 @@ int user_options_getopt (hashcat_ctx_t *hashcat_ctx, int argc, char **argv) case IDX_RESTORE: user_options->restore = true; break; case IDX_QUIET: user_options->quiet = true; break; case IDX_SHOW: user_options->show = true; break; - case IDX_DEPRECATED_CHECK_DISABLE: user_options->deprecated_check_disable = true; break; + case IDX_DEPRECATED_CHECK_DISABLE: user_options->deprecated_check = false; break; case IDX_LEFT: user_options->left = true; break; case IDX_ADVICE_DISABLE: user_options->advice = false; break; case IDX_USERNAME: user_options->username = true; break;