1
mirror of https://github.com/hashcat/hashcat synced 2025-01-03 11:16:23 +01:00

Merge pull request #1952 from Chick3nman/master

Change behaviour of --keep-guessing flag
This commit is contained in:
Jens Steube 2019-03-13 18:43:09 +01:00 committed by GitHub
commit 5e6f5c31de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -520,7 +520,14 @@ static void main_outerloop_mainscreen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx,
event_log_advice (hashcat_ctx, NULL);
}
}
if (user_options->keep_guessing == true)
{
event_log_advice (hashcat_ctx, "ATTENTION! Keep-guessing is enabled.");
event_log_advice (hashcat_ctx, "This tells Hashcat to continue guessing against all target hashes until attack exhaustion.");
event_log_advice (hashcat_ctx, "Hashcat will NOT check for or remove targets present in the potfile and will add ALL plains/collisions found, including duplicates, to the potfile.");
event_log_advice (hashcat_ctx, NULL);
}
/**
* Watchdog and Temperature balance
*/

View File

@ -373,10 +373,13 @@ int potfile_remove_parse (hashcat_ctx_t *hashcat_ctx)
const hashes_t *hashes = hashcat_ctx->hashes;
const module_ctx_t *module_ctx = hashcat_ctx->module_ctx;
const potfile_ctx_t *potfile_ctx = hashcat_ctx->potfile_ctx;
const user_options_t *user_options = hashcat_ctx->user_options;
if (potfile_ctx->enabled == false) return 0;
if (hashconfig->potfile_disable == true) return 0;
if (hashconfig->opts_type & OPTS_TYPE_PT_NEVERCRACK) return 0;
// if no potfile exists yet we don't need to do anything here