From a08f65b50e95d8599e8bd7938c29aee22914ec0c Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Tue, 22 Aug 2017 06:53:18 -0800 Subject: [PATCH 1/2] flip the logic in terminal.c for readability --- src/terminal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index 764caa9df..1a5092988 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -38,13 +38,13 @@ 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); - if (user_options->optimized_kernel_enable == false) + if (user_options->optimized_kernel_enable == true) { - event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile); + event_log_info (hashcat_ctx, "Active options: -O, -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, "Active options: -w %u", user_options->workload_profile); } event_log_info (hashcat_ctx, NULL); @@ -60,13 +60,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) else { event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag); - if (user_options->optimized_kernel_enable == false) + if (user_options->optimized_kernel_enable == true) { - event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile); + event_log_info (hashcat_ctx, "# Active options: -O, -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, "# Active options: -w %u", user_options->workload_profile); } } } From 1a162e2ab446fe1b5626a2488ac65881d278393c Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Thu, 24 Aug 2017 07:19:50 -0800 Subject: [PATCH 2/2] Clarify Blake2b label --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index f0bbff074..7d02607ee 100644 --- a/src/interface.c +++ b/src/interface.c @@ -346,7 +346,7 @@ static const char HT_00300[] = "MySQL4.1/MySQL5"; static const char HT_00400[] = "phpass, WordPress (MD5), phpBB3 (MD5), Joomla (MD5)"; static const char HT_00500[] = "md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5)"; static const char HT_00501[] = "Juniper IVE"; -static const char HT_00600[] = "BLAKE2-512"; +static const char HT_00600[] = "BLAKE2b"; static const char HT_00900[] = "MD4"; static const char HT_01000[] = "NTLM"; static const char HT_01100[] = "Domain Cached Credentials (DCC), MS Cache";