From 29259ff97315ef0899cdf52bc8ec3c16b124f67b Mon Sep 17 00:00:00 2001 From: PenguinKeeper7 Date: Tue, 7 Jan 2025 02:43:31 +0000 Subject: [PATCH] Improve salt length reporting in hashconfig Increase the amount of hash modes that will have their salt min/max length showed by including SALT_TYPE_GENERIC --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 085ce38b4..9158698a9 100644 --- a/src/main.c +++ b/src/main.c @@ -996,7 +996,7 @@ static void main_hashconfig_post (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE if (hashconfig->is_salted == true) { - if (hashconfig->opti_type & OPTI_TYPE_RAW_HASH) + if (hashconfig->opti_type & OPTI_TYPE_RAW_HASH || hashconfig->salt_type & SALT_TYPE_GENERIC) { event_log_info (hashcat_ctx, "Minimum salt length supported by kernel: %u", hashconfig->salt_min); event_log_info (hashcat_ctx, "Maximum salt length supported by kernel: %u", hashconfig->salt_max);