From b187c662369d5759b05723f125e25cf0f06f8f8e Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Mon, 14 Feb 2022 12:51:33 -0600 Subject: [PATCH] Further checks for attack modes where -S isn't relevant --- src/main.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 7264ac173..2e45fc441 100644 --- a/src/main.c +++ b/src/main.c @@ -748,10 +748,13 @@ static void main_monitor_performance_hint (MAYBE_UNUSED hashcat_ctx_t *hashcat_c { 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); + if ((user_options->attack_mode != ATTACK_MODE_HYBRID1) && (user_options->attack_mode != ATTACK_MODE_HYBRID2)) + { + 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); + } } }