From 847ed73bfc823e0c75c44111476a312e1f1849e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Bolvansk=C3=BD?= Date: Sun, 27 Aug 2023 17:08:17 +0200 Subject: [PATCH] Mode 17230: Remove lower bound restriction for hash count --- src/modules/module_17230.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/module_17230.c b/src/modules/module_17230.c index 2b3ef24c9..ee3f89a32 100644 --- a/src/modules/module_17230.c +++ b/src/modules/module_17230.c @@ -220,7 +220,6 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE // check here that the hash_count is valid for the attack type if (pkzip->hash_count > 8) return PARSER_HASH_VALUE; - if (pkzip->hash_count < 3) return PARSER_HASH_VALUE; p = strtok_r (NULL, "*", &saveptr); if (p == NULL) return PARSER_HASH_LENGTH;