From be4076cba65c529c58721ebcb1f4017d3c00bb45 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 19 Jul 2017 14:53:43 +0200 Subject: [PATCH] Multiply SPEED in machine-readable status output with 1000, making it more accurate if performance is < 1H/ms --- src/terminal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index fc046d2d0..4bf282b84 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -645,10 +645,10 @@ void status_display_machine_readable (hashcat_ctx_t *hashcat_ctx) if (device_info->skipped_dev == true) continue; - printf ("%" PRIu64 "\t", (u64) device_info->hashes_msec_dev); + printf ("%" PRIu64 "\t", (u64) (device_info->hashes_msec_dev * 1000)); // that 1\t is for backward compatibility - printf ("1\t"); + printf ("1000\t"); } printf ("EXEC_RUNTIME\t");