1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-16 11:48:15 +00:00

Do not show a candidate on status screen if device is copying or generating candidates

This commit is contained in:
jsteube 2016-10-05 16:02:19 +02:00
parent 15d2f9b11e
commit b751a9d438

View File

@ -869,6 +869,8 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
}
}
if (status_ctx->run_main_level1 == true)
{
for (u32 device_id = 0; device_id < opencl_ctx->devices_cnt; device_id++)
{
hc_device_param_t *device_param = &opencl_ctx->devices_param[device_id];
@ -877,7 +879,14 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
if ((device_param->outerloop_left == 0) || (device_param->innerloop_left == 0))
{
log_info ("Candidates.#%d..: [Copying/Generating]", device_id + 1);
if (user_options_extra->attack_kern == ATTACK_KERN_BF)
{
log_info ("Candidates.#%d..: [Generating]", device_id + 1);
}
else
{
log_info ("Candidates.#%d..: [Copying]", device_id + 1);
}
continue;
}
@ -921,6 +930,7 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
log_info ("Candidates.#%d..: %s -> %s", device_id + 1, plain_ptr1, plain_ptr2);
}
}
}
for (u32 device_id = 0; device_id < opencl_ctx->devices_cnt; device_id++)
{