1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 07:28:10 +00:00

Alternative --progress-only in case of multiple salts cracking

This commit is contained in:
jsteube 2016-12-10 18:12:03 +01:00
parent 367024da3f
commit 0d31ee3b53

View File

@ -2006,16 +2006,10 @@ int run_cracker (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, co
{ {
const double m = (double) innerloop_cnt / innerloop_step; 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 * hashes->salts_cnt;
} }
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; if (user_options->speed_only == true) break;
}
//status screen makes use of this, can't reset here //status screen makes use of this, can't reset here
//device_param->innerloop_pos = 0; //device_param->innerloop_pos = 0;