1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

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

This commit is contained in:
Chick3nman 2022-02-14 12:43:20 -06:00
parent fea59e3a3a
commit e47a58db44

View File

@ -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);