mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-16 04:49:24 +00:00
Fix --progress-only in case of multiple salts cracking
This commit is contained in:
parent
f424650c3b
commit
367024da3f
@ -2006,10 +2006,16 @@ int run_cracker (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, co
|
||||
{
|
||||
const double m = (double) innerloop_cnt / innerloop_step;
|
||||
|
||||
device_param->outerloop_msec = device_param->speed_msec[0] * m;
|
||||
device_param->outerloop_msec += device_param->speed_msec[0] * m;
|
||||
}
|
||||
else
|
||||
{
|
||||
// if this is a --progress-only run, we do not want to break
|
||||
// because we need to sum up all salts
|
||||
// but for a --speed-only or benchmark run this isn't wanted
|
||||
|
||||
if (user_options->speed_only == true) break;
|
||||
}
|
||||
|
||||
//status screen makes use of this, can't reset here
|
||||
//device_param->innerloop_pos = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user