mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-17 04:08:34 +00:00
Do not show a candidate on status screen if device is copying or generating candidates
This commit is contained in:
parent
15d2f9b11e
commit
b751a9d438
12
src/status.c
12
src/status.c
@ -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++)
|
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];
|
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))
|
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;
|
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);
|
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++)
|
for (u32 device_id = 0; device_id < opencl_ctx->devices_cnt; device_id++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user