diff --git a/docs/changes.txt b/docs/changes.txt index d0c494452..254d0be6f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -18,6 +18,7 @@ - Fixed internal access on module option attribute OPTS_TYPE_SUGGEST_KG with the result that it was unused - Fixed race condition resulting in out of memory error on startup if multiple hashcat instances are started at the same time - Fixed unexpected non-unique salts in multi-hash cracking in Bitcoin/Litecoin wallet.dat module which lead to false negatives +- Fixed rare case of misalignment of the status prompt when other user warnings are shown within the hashcat output ## ## Improvements diff --git a/src/backend.c b/src/backend.c index 894eb8746..63b040040 100644 --- a/src/backend.c +++ b/src/backend.c @@ -23,6 +23,7 @@ #include "event.h" #include "dynloader.h" #include "backend.h" +#include "terminal.h" #if defined (__linux__) static const char *dri_card0_path = "/dev/dri/card0"; @@ -6890,6 +6891,8 @@ void backend_ctx_devices_update_power (hashcat_ctx_t *hashcat_ctx) { if (user_options->quiet == false) { + clear_prompt (hashcat_ctx); + event_log_advice (hashcat_ctx, "The wordlist or mask that you are using is too small."); event_log_advice (hashcat_ctx, "This means that hashcat cannot use the full parallel power of your device(s)."); event_log_advice (hashcat_ctx, "Unless you supply more work, your cracking speed will drop."); diff --git a/src/main.c b/src/main.c index 48cf59e27..83300493d 100644 --- a/src/main.c +++ b/src/main.c @@ -239,6 +239,8 @@ static void main_cracker_starting (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB { event_log_info_nn (hashcat_ctx, NULL); + clear_prompt (hashcat_ctx); + send_prompt (hashcat_ctx); } }