mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-17 04:08:34 +00:00
Fix Input.Mode in status in maskfile mode
This commit is contained in:
parent
67dd2e9b67
commit
375bc56681
@ -428,7 +428,9 @@ void status_display (opencl_ctx_t *opencl_ctx, const hashconfig_t *hashconfig, c
|
||||
|
||||
if (mask_ctx->masks_cnt > 1)
|
||||
{
|
||||
double mask_percentage = (double) mask_ctx->masks_pos / (double) mask_ctx->masks_cnt;
|
||||
const int maks_pos_done = ((opencl_ctx->devices_status == STATUS_EXHAUSTED) && (opencl_ctx->run_main_level1 == true)) ? 1 : 0;
|
||||
|
||||
double mask_percentage = (double) (mask_ctx->masks_pos + maks_pos_done) / (double) mask_ctx->masks_cnt;
|
||||
|
||||
tmp_len += snprintf (tmp_buf + tmp_len, sizeof (tmp_buf) - tmp_len, " (%.02f%%)", mask_percentage * 100);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user