1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-25 07:58:19 +00:00

Merge pull request #1304 from roycewilliams/master

visual indicator of active options when benchmarking
This commit is contained in:
Jens Steube 2017-08-19 19:24:32 +02:00 committed by GitHub
commit e42d8c9247
2 changed files with 17 additions and 1 deletions

View File

@ -6,7 +6,7 @@
- Added support to crack passwords and salts up to length 256 - Added support to crack passwords and salts up to length 256
- Added option --optimized-kernel-enable to use faster kernels but limit the maximum supported password- and salt-length - Added option --optimized-kernel-enable to use faster kernels but limit the maximum supported password- and salt-length
- Added self-test functionality for OpenCL kernels on startup - Added self-test functionality to detect broken OpenCL runtimes on startup
- Added option --self-test-disable to disable self-test functionality on startup - Added option --self-test-disable to disable self-test functionality on startup
- Added option --wordlist-autohex-disable to disable the automatical conversion of $HEX[] words from the word list - Added option --wordlist-autohex-disable to disable the automatical conversion of $HEX[] words from the word list

View File

@ -38,6 +38,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
if (user_options->machine_readable == false) if (user_options->machine_readable == false)
{ {
event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag); event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag);
if (user_options->optimized_kernel_enable == false)
{
event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile);
}
else
{
event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile);
}
event_log_info (hashcat_ctx, NULL); event_log_info (hashcat_ctx, NULL);
if (user_options->workload_profile_chgd == false) if (user_options->workload_profile_chgd == false)
@ -52,6 +60,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
else else
{ {
event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag); event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag);
if (user_options->optimized_kernel_enable == false)
{
event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile);
}
else
{
event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile);
}
} }
} }
else if (user_options->restore == true) else if (user_options->restore == true)