]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Treat *.zpaq attachments as archives and harmful 4680/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 3 Nov 2023 13:38:05 +0000 (13:38 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 3 Nov 2023 13:38:05 +0000 (13:38 +0000)
Rationale: https://dshield.org/diary/Malware+Dropped+Through+a+ZPAQ+Archive/30366/

src/plugins/lua/mime_types.lua

index ebd8a80281669c7b9431ce576e9a5f7e1f387e1a..167ed38e28172072f53f775215d2aa1c625ebbad 100644 (file)
@@ -56,6 +56,7 @@ local settings = {
     exe = 1,
     iso = 4,
     jar = 2,
+    zpaq = 2,
     -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful
     htm = 1,
     html = 1,
@@ -218,6 +219,7 @@ local settings = {
     rar = 1,
     xz = 1,
     zip = 1,
+    zpaq = 1,
   },
 
   -- Not really archives