1
0
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:
jsteube 2017-05-17 12:33:46 +02:00
parent bb2118a290
commit 7bd391df71
2 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@
## ##
- Fixed a missing type specifier in a function declaration of the RACF kernel - 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 ## Technical

View File

@ -368,7 +368,7 @@ static int inner1_loop (hashcat_ctx_t *hashcat_ctx)
if (status_ctx->run_main_level3 == false) break; 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 else
{ {
@ -767,7 +767,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
if (status_ctx->run_main_level2 == false) break; 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 else
{ {