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

Fix Input.Queue.Mod in hybrid mode

This commit is contained in:
jsteube 2016-11-11 22:30:03 +01:00
parent bc26cae58c
commit cad9120a48

View File

@ -631,13 +631,13 @@ int status_get_input_mod_count (const hashcat_ctx_t *hashcat_ctx)
{
const mask_ctx_t *mask_ctx = hashcat_ctx->mask_ctx;
return mask_ctx->masks_cnt + 1;
return mask_ctx->masks_cnt;
}
else if (user_options->attack_mode == ATTACK_MODE_HYBRID2)
{
const mask_ctx_t *mask_ctx = hashcat_ctx->mask_ctx;
return mask_ctx->masks_cnt + 1;
return mask_ctx->masks_cnt;
}
return 0;