|
|
|
@ -94,6 +94,8 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
|
|
|
|
|
rd->words_cur = 0;
|
|
|
|
|
|
|
|
|
|
// --restore always overrides --skip
|
|
|
|
|
|
|
|
|
|
user_options->skip = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -102,8 +104,6 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
{
|
|
|
|
|
status_ctx->words_off = user_options->skip;
|
|
|
|
|
status_ctx->words_cur = status_ctx->words_off;
|
|
|
|
|
|
|
|
|
|
user_options->skip = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
opencl_session_reset (hashcat_ctx);
|
|
|
|
@ -318,6 +318,11 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// in case the user specified a --skip parameter we can use it only for the first inner loop
|
|
|
|
|
// we need to reset this
|
|
|
|
|
|
|
|
|
|
user_options->skip = 0;
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|