1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-25 17:38:23 +00:00

Fixed a miscalculation in --progress-only mode output for extreme slow kernels like -m 14800

This commit is contained in:
jsteube 2018-07-05 14:14:39 +02:00
parent 18fed3053a
commit dd2511233d
2 changed files with 9 additions and 1 deletions

View File

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

View File

@ -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)