1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

Change the benchmarking info text on -O and disable it if -w is already set

This commit is contained in:
jsteube 2017-07-19 15:33:19 +02:00
parent be4076cba6
commit 80c5150292

View File

@ -39,8 +39,15 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
{
event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag);
event_log_info (hashcat_ctx, NULL);
event_log_advice (hashcat_ctx, "Benchmarking uses optimized kernels (-O). To disable, use a workload profile (-w)");
event_log_advice (hashcat_ctx, NULL);
if (user_options->workload_profile_chgd == false)
{
event_log_advice (hashcat_ctx, "Benchmarking uses hand optimized kernel code by default.");
event_log_advice (hashcat_ctx, "You can use it in your cracking session by setting the -O option.");
event_log_advice (hashcat_ctx, "Note that using optimized kernel code limits the maximum supported password length.");
event_log_advice (hashcat_ctx, "To disable the optimized kernel code in benchmark mode use the -w option.");
event_log_advice (hashcat_ctx, NULL);
}
}
else
{