1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-10 15:51:10 +00:00

Performance Monitor: Add -S as a user suggestion to improve cracking performance in specific attack configurations

This commit is contained in:
Jens Steube 2021-05-19 08:31:51 +02:00
parent 9028938998
commit 58ffef4580
2 changed files with 17 additions and 5 deletions

View File

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

View File

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