diff --git a/docs/changes.txt b/docs/changes.txt index 55ab519ce..75b4cca86 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -14,6 +14,7 @@ ## - CUDA Backend: Do not warn about missing CUDA SDK installation if --stdout is used +- Performance Monitor: Add -S as a user suggestion to improve cracking performance in specific attack configurations ## ## Technical diff --git a/src/main.c b/src/main.c index 41271b4b9..c29a7b152 100644 --- a/src/main.c +++ b/src/main.c @@ -710,13 +710,16 @@ static void main_monitor_performance_hint (MAYBE_UNUSED hashcat_ctx_t *hashcat_c event_log_advice (hashcat_ctx, "Cracking performance lower than expected?"); event_log_advice (hashcat_ctx, NULL); - if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 0) + if (user_options->optimized_kernel_enable == false) { - if (hashconfig->has_optimized_kernel == true) + if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 0) { - event_log_advice (hashcat_ctx, "* Append -O to the commandline."); - event_log_advice (hashcat_ctx, " This lowers the maximum supported password- and salt-length (typically down to 32)."); - event_log_advice (hashcat_ctx, NULL); + if (hashconfig->has_optimized_kernel == true) + { + event_log_advice (hashcat_ctx, "* Append -O to the commandline."); + event_log_advice (hashcat_ctx, " This lowers the maximum supported password- and salt-length (typically down to 32)."); + event_log_advice (hashcat_ctx, NULL); + } } } @@ -727,6 +730,14 @@ static void main_monitor_performance_hint (MAYBE_UNUSED hashcat_ctx_t *hashcat_c event_log_advice (hashcat_ctx, NULL); } + 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 effect but only for context specific attack configurations."); + 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);