commit 76b39f2: [Minor] Add bad file types commonly found in archives attached to malspam
twesterhever
40121680+twesterhever at users.noreply.github.com
Mon Jul 29 17:56:22 UTC 2024
Author: twesterhever
Date: 2024-04-28 09:06:17 +0000
URL: https://github.com/rspamd/rspamd/commit/76b39f2c840ae428571cb71d8c93f45d83d87ad8 (refs/pull/4949/head)
[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,
More information about the Commits
mailing list