From 76b39f2c840ae428571cb71d8c93f45d83d87ad8 Mon Sep 17 00:00:00 2001 From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Sun, 28 Apr 2024 09:06:17 +0000 Subject: [PATCH] [Minor] Add bad file types commonly found in archives attached to malspam --- src/plugins/lua/mime_types.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 71b6481d8..6506025aa 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -196,10 +196,14 @@ local settings = { -- Something that should not be in archive bad_archive_extensions = { + chm = 4, docx = 0.1, + exe = 0.1, hta = 4, + iso = 4, jar = 3, js = 0.5, + lnk = 4, pdf = 0.1, pptx = 0.1, vbs = 4, -- 2.39.5