From 813911788a327ccc16bcc466d6f3069c1bd340fc Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 30 Nov 2016 11:12:30 +0100 Subject: [PATCH] Status: Do not show Recovered/Time when cracking < 1000 hashes --- docs/changes.txt | 1 + src/terminal.c | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index b9e1095fe..58ad91d26 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -163,6 +163,7 @@ The CLI (hashcat.bin or hashcat.exe) works as before but from a technical perspe - Rules: Refactored macros to real functions - Status: Added Input.Queue.Base and Input.Queue.Mod to help the user better understand this concept - Status: Do not wait for the progress mutex to read and store speed timer +- Status: Do not show Recovered/Time when cracking < 1000 hashes - Tests: Removed rules_test/ subproject: Would require total rewrite but not used in a long time - Threads: Replaced all calls to getpwuid() with getpwuid_r() to ensure thread safety - Threads: Replaced all calls to gmtime() with gmtime_r() to ensure thread safety diff --git a/src/terminal.c b/src/terminal.c index 15c1c3639..b96a11356 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -963,9 +963,12 @@ void status_display (hashcat_ctx_t *hashcat_ctx) hashcat_status->salts_cnt, hashcat_status->salts_percent); - event_log_info (hashcat_ctx, - "Recovered/Time...: %s", - hashcat_status->cpt); + if (hashcat_status->digests_cnt > 1000) + { + event_log_info (hashcat_ctx, + "Recovered/Time...: %s", + hashcat_status->cpt); + } switch (hashcat_status->progress_mode) {