From 434af9fe6a8ef6929897ec541c24d0093d15dc62 Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Thu, 20 Jul 2017 05:58:42 -0800 Subject: [PATCH 1/3] visual indicator of options active when benchmarking --- src/terminal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/terminal.c b/src/terminal.c index 512b51014..08f147b9a 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -38,6 +38,7 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) 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, "Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile); event_log_info (hashcat_ctx, NULL); if (user_options->workload_profile_chgd == false) @@ -52,6 +53,8 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) else { event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag); + event_log_info (hashcat_ctx, "# Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile); + } } else if (user_options->restore == true) From 471ba4075d2a5f6ae1a47ad9c73149890ef94ca5 Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Thu, 20 Jul 2017 06:09:45 -0800 Subject: [PATCH 2/3] make display of active options in benchmark match actual usage --- src/terminal.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index 08f147b9a..44b8fdc11 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -38,7 +38,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) 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, "Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile); + 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); if (user_options->workload_profile_chgd == false) @@ -53,8 +60,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) else { event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag); - event_log_info (hashcat_ctx, "# Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile); - + 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) From 63575b332bbdaaa3f72b7bae65b9ab6d6b8fc8f0 Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Sat, 19 Aug 2017 08:09:51 -0800 Subject: [PATCH 3/3] clarify --self-test in changes.txt --- docs/changes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 739a61854..aafc642a2 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -6,7 +6,7 @@ - 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 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 --wordlist-autohex-disable to disable the automatical conversion of $HEX[] words from the word list