1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Merge pull request #3264 from TheWorkingDeveloper/patch-1

Update status output to show new founds when >=1
This commit is contained in:
Jens Steube 2022-04-25 20:18:17 +02:00 committed by GitHub
commit f31dcc5d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",