From 5f7c3590bab4ebae508443188ca2383997f1a14b Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 1 Mar 2017 21:42:17 +0100 Subject: [PATCH] Status screen: Do not try to clear prompt in --quiet mode --- docs/changes.txt | 1 + src/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 3b682d338..d84595640 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -100,6 +100,7 @@ - Rule Engine: Fixed several memory leaks in case loading of rules failed - Session Management: Fixed several memory leaks in case profile- or install-folder setup failed - Sessions: Move out handling of multiple instance from restore file into separate pidfile +- Status screen: Do not try to clear prompt in --quiet mode - Threads: Restored strerror as %m is unsupported by the BSDs - Wordlists: Disable dictstat handling for hash-mode 3000 as it virtually creates words in the wordlist which is not the case for other modes - Wordlists: Fixed memory leak in case access a file in a wordlist folder fails diff --git a/src/main.c b/src/main.c index 6cce33b42..dacd1787a 100644 --- a/src/main.c +++ b/src/main.c @@ -243,7 +243,7 @@ static void main_cracker_finished (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB if ((user_options_extra->wordlist_mode == WL_MODE_FILE) || (user_options_extra->wordlist_mode == WL_MODE_MASK)) { - if (user_options->speed_only == false) + if ((user_options->speed_only == false) && (user_options->quiet == false)) { clear_prompt (); }