From 0fd8de3a758d2c15266c89b005cc0c8c0a55c74a Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Wed, 19 May 2021 08:32:24 +0200 Subject: [PATCH] Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device) --- docs/changes.txt | 1 + src/terminal.c | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index 75b4cca86..4c58bab55 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -15,6 +15,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 +- Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device) ## ## Technical diff --git a/src/terminal.c b/src/terminal.c index 4a663b759..b8206bd32 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -1237,6 +1237,15 @@ void status_display (hashcat_ctx_t *hashcat_ctx) hashcat_status->time_estimated_relative); } + if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) + { + event_log_info (hashcat_ctx, "Kernel.Feature...: Optimized Kernel"); + } + else + { + event_log_info (hashcat_ctx, "Kernel.Feature...: Pure Kernel"); + } + switch (hashcat_status->guess_mode) { case GUESS_MODE_STRAIGHT_FILE: @@ -1733,6 +1742,16 @@ void status_display (hashcat_ctx_t *hashcat_ctx) device_info->iteration_pos_dev + device_info->iteration_left_dev); } + //if (hashconfig->opts_type & OPTS_TYPE_SLOW_CANDIDATES) + if (user_options->slow_candidates == true) + { + event_log_info (hashcat_ctx, "Candidate.Engine.: Host Generator + PCIe"); + } + else + { + event_log_info (hashcat_ctx, "Candidate.Engine.: Device Generator"); + } + for (int device_id = 0; device_id < hashcat_status->device_info_cnt; device_id++) { const device_info_t *device_info = hashcat_status->device_info_buf + device_id;