diff options
author | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-04-28 09:06:17 +0000 |
---|---|---|
committer | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-04-28 09:06:17 +0000 |
commit | 76b39f2c840ae428571cb71d8c93f45d83d87ad8 (patch) | |
tree | 6e69a37a0b191c85fe1da6bfde0a1897ca1aaa9c /src/plugins | |
parent | 65e43f908e39fe60707bdc345862151c7962a67d (diff) | |
download | rspamd-76b39f2c840ae428571cb71d8c93f45d83d87ad8.tar.gz rspamd-76b39f2c840ae428571cb71d8c93f45d83d87ad8.zip |
[Minor] Add bad file types commonly found in archives attached to malspam
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/mime_types.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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, |