aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2023-10-22 20:19:25 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2023-10-22 20:19:25 +0000
commite484b311bb57ab9843684db33738c9829bdbba6e (patch)
treecbcf7abe7f17f1df99a5b7869ca4be123a05ee1b /src/plugins/lua
parent7379c8b28375f8c8944165b8dea75d462eb47139 (diff)
downloadrspamd-e484b311bb57ab9843684db33738c9829bdbba6e.tar.gz
rspamd-e484b311bb57ab9843684db33738c9829bdbba6e.zip
[Minor] Incorporate additional bad attachments from Microsoft
These are as follows: - htc: HTML Component File - pyc: Compiled Python Script - pyo: Optimized Compiled Python Module - pyw: Python Script To Be Executed With Suppressed Terminal Window - pyz: Python Zip Application - pyzw: Python Zip Application - vhd: Virtual Hard Disk - vhdx: Virtual Hard Disk Extended - wsf: Windows Script File Note that the Python file types remain unscored in archives, so distribution of these in source tarballs and the like is not affected by this commit. Source: https://support.microsoft.com/en-us/office/blocked-attachments-in-outlook-434752e1-02d3-4e90-9124-8b81e49a8519?ui=en-us&rs=en-us&ad=us
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/mime_types.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 19de9a751..d6a9ff06f 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -111,6 +111,7 @@ local settings = {
hlp = 4,
hpj = 4,
hta = 4,
+ htc = 4,
inf = 4,
its = 4,
jnlp = 4,
@@ -157,6 +158,11 @@ local settings = {
psd1 = 4,
psdm1 = 4,
pst = 4,
+ pyc = 4,
+ pyo = 4,
+ pyw = 4,
+ pyz = 4,
+ pyzw = 4,
reg = 4,
scf = 4,
scr = 4,
@@ -164,11 +170,14 @@ local settings = {
theme = 4,
url = 4,
vbp = 4,
+ vhd = 4,
+ vhdx = 4,
vsmacros = 4,
vsw = 4,
webpnp = 4,
website = 4,
ws = 4,
+ wsf = 4,
xbap = 4,
xll = 4,
xnk = 4,