From f0037d93684eb72b8d4ae5c173ef7e43621efb20 Mon Sep 17 00:00:00 2001 From: TheWorkingDeveloper <33965786+TheWorkingDeveloper@users.noreply.github.com> Date: Mon, 25 Apr 2022 00:00:24 +0200 Subject: [PATCH] Update status output to show new founds when >=1 Recovered.New are only shown then >1 instead of >=1 --- src/terminal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index e0f80711c..e61ec9ef6 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -2308,7 +2308,7 @@ void status_display (hashcat_ctx_t *hashcat_ctx) const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100; - if (digests_new > 1) + if (digests_new >= 1) { event_log_info (hashcat_ctx, "Recovered.Total..: %u/%u (%.2f%%) Digests, %u/%u (%.2f%%) Salts", @@ -2341,7 +2341,7 @@ void status_display (hashcat_ctx_t *hashcat_ctx) const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100; - if (digests_new > 1) + if (digests_new >= 1) { event_log_info (hashcat_ctx, "Recovered.Total..: %u/%u (%.2f%%) Digests",