aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-06 23:09:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-06 23:09:57 +0100
commit56ed3ffdd6d1252508058994f617ee47e5b19f07 (patch)
tree2ae938fd5e41d6e3a802c563755b803522d07079 /lualib/lua_magic
parent27ad207da620685499aa04c8e9c7d4e4eafa11dc (diff)
downloadrspamd-56ed3ffdd6d1252508058994f617ee47e5b19f07.tar.gz
rspamd-56ed3ffdd6d1252508058994f617ee47e5b19f07.zip
[Minor] Improve exe files detection
Issue: #3481
Diffstat (limited to 'lualib/lua_magic')
-rw-r--r--lualib/lua_magic/patterns.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index a19aba03c..371d99a5a 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -98,13 +98,13 @@ local patterns = {
{
string = [[MZ]],
relative_position = 0,
- weight = 10,
+ weight = 15,
},
-- PE part
{
string = [[PE\x{00}\x{00}]],
position = {'>=', 0x3c + 4},
- weight = 40,
+ weight = 15,
}
}
},