From f152f6a16c51ec1c88f89e435155d8e540163b13 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 22 Nov 2019 19:10:56 +0100 Subject: [PATCH] Fix missing --quiet check in password/salt min/max info on startup --- src/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 4eddd624c..8a17a4e1e 100644 --- a/src/main.c +++ b/src/main.c @@ -882,12 +882,14 @@ static void main_wordlist_cache_generate (MAYBE_UNUSED hashcat_ctx_t *hashcat_ct static void main_hashconfig_pre (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len) { - } static void main_hashconfig_post (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len) { - const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; + const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; + const user_options_t *user_options = hashcat_ctx->user_options; + + if (user_options->quiet == true) return; /** * Optimizer constraints