Introduce logic to stop advice message from suggesting options that do not work in the current attack mode. Fixes #3169

pull/3178/head
Chick3nman 2 years ago
parent fea59e3a3a
commit e47a58db44

@ -746,12 +746,15 @@ static void main_monitor_performance_hint (MAYBE_UNUSED hashcat_ctx_t *hashcat_c
if (user_options->slow_candidates == false)
{
event_log_advice (hashcat_ctx, "* Append -S to the commandline.");
event_log_advice (hashcat_ctx, " This has a drastic speed impact but can be better for specific attacks.");
event_log_advice (hashcat_ctx, " Typical scenarios are a small wordlist but a large ruleset.");
event_log_advice (hashcat_ctx, NULL);
if ((user_options_extra->wordlist_mode == WL_MODE_FILE) || (user_options_extra->wordlist_mode == WL_MODE_MASK))
{
event_log_advice (hashcat_ctx, "* Append -S to the commandline.");
event_log_advice (hashcat_ctx, " This has a drastic speed impact but can be better for specific attacks.");
event_log_advice (hashcat_ctx, " Typical scenarios are a small wordlist but a large ruleset.");
event_log_advice (hashcat_ctx, NULL);
}
}
event_log_advice (hashcat_ctx, "* Update your backend API runtime / driver the right way:");
event_log_advice (hashcat_ctx, " https://hashcat.net/faq/wrongdriver");
event_log_advice (hashcat_ctx, NULL);

Loading…
Cancel
Save