diff --git a/docs/changes.txt b/docs/changes.txt index 415c66486..6d80927af 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -21,6 +21,7 @@ - Fixed a function declaration attribute in -m 8900 kernel leading to unuseable -m 9300 which shares kernel code with -m 8900 - Fixed a missing kernel in -m 5600 in combination with -a 3 and -O if mask is >= 16 characters +- Fixed a miscalculation in --progress-only mode output for extreme slow kernels like -m 14800 - Fixed missing code section in -m 2500 and -m 2501 to crack corrupted handshakes with a LE endian bitness base * changes v4.0.1 -> v4.1.0 diff --git a/src/status.c b/src/status.c index 33a0012c2..f5bb22b8f 100644 --- a/src/status.c +++ b/src/status.c @@ -1780,7 +1780,14 @@ double status_get_runtime_msec_dev (const hashcat_ctx_t *hashcat_ctx, const int if (device_param->skipped == true) return 0; - return device_param->outerloop_msec; + float q = 1; + + if (device_param->speed_only_finish == true) + { + q = (float) device_param->outerloop_left / (float) device_param->speed_cnt[0]; + } + + return device_param->outerloop_msec * q; } int status_get_kernel_accel_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id)