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

Implement new status message as 2 lines, variable output

This commit is contained in:
Chick3nman 2022-02-14 18:09:48 -06:00
parent ff018b8586
commit af233b8f0c

View File

@ -2100,13 +2100,15 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
if (digests_new > 1) if (digests_new > 1)
{ {
event_log_info (hashcat_ctx, event_log_info (hashcat_ctx,
"Recovered........: %d/%d (%.2f%%) Digests, %d/%d (%.2f%%) Salts, %d/%d (%.2f%%) New", "Recovered.Total..: %d/%d (%.2f%%) Digests, %d/%d (%.2f%%) Salts, %d/%d (%.2f%%) New",
hashcat_status->digests_done, hashcat_status->digests_done,
hashcat_status->digests_cnt, hashcat_status->digests_cnt,
hashcat_status->digests_percent, hashcat_status->digests_percent,
hashcat_status->salts_done, hashcat_status->salts_done,
hashcat_status->salts_cnt, hashcat_status->salts_cnt,
hashcat_status->salts_percent, hashcat_status->salts_percent);
event_log_info (hashcat_ctx,
"Recovered.New....: %d/%d (%.2f%%) Digests",
digests_new, digests_new,
hashcat_status->digests_cnt, hashcat_status->digests_cnt,
digests_new_perc); digests_new_perc);
@ -2131,10 +2133,12 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
if (digests_new > 1) if (digests_new > 1)
{ {
event_log_info (hashcat_ctx, event_log_info (hashcat_ctx,
"Recovered........: %d/%d (%.2f%%) Digests, %d/%d (%.2f%%) New", "Recovered.Total..: %d/%d (%.2f%%) Digests",
hashcat_status->digests_done, hashcat_status->digests_done,
hashcat_status->digests_cnt, hashcat_status->digests_cnt,
hashcat_status->digests_percent, hashcat_status->digests_percent);
event_log_info (hashcat_ctx,
"Recovered.New....: %d/%d (%.2f%%) Digests",
digests_new, digests_new,
hashcat_status->digests_cnt, hashcat_status->digests_cnt,
digests_new_perc); digests_new_perc);