mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 08:10:59 +00:00
Fixed a condition that caused a hybrid attack using a maskfile to not select all wordlists from a wordlist folder
Fixes https://github.com/hashcat/hashcat/issues/1244
This commit is contained in:
parent
bb2118a290
commit
7bd391df71
@ -34,6 +34,7 @@
|
||||
##
|
||||
|
||||
- Fixed a missing type specifier in a function declaration of the RACF kernel
|
||||
- Fixed a condition that caused a hybrid attack using a maskfile to not select all wordlists from a wordlist folder
|
||||
|
||||
##
|
||||
## Technical
|
||||
|
@ -368,7 +368,7 @@ static int inner1_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
if (status_ctx->run_main_level3 == false) break;
|
||||
}
|
||||
|
||||
if (straight_ctx->dicts_pos == straight_ctx->dicts_cnt) straight_ctx->dicts_pos = 0;
|
||||
if (straight_ctx->dicts_pos + 1 == straight_ctx->dicts_cnt) straight_ctx->dicts_pos = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -767,7 +767,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
if (status_ctx->run_main_level2 == false) break;
|
||||
}
|
||||
|
||||
if (mask_ctx->masks_pos == mask_ctx->masks_cnt) mask_ctx->masks_pos = 0;
|
||||
if (mask_ctx->masks_pos + 1 == mask_ctx->masks_cnt) mask_ctx->masks_pos = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user