commit 56ed3ff: [Minor] Improve exe files detection
Vsevolod Stakhov
vsevolod at highsecure.ru
Sun Sep 6 22:14:05 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-09-06 23:09:57 +0100
URL: https://github.com/rspamd/rspamd/commit/56ed3ffdd6d1252508058994f617ee47e5b19f07 (HEAD -> master)
[Minor] Improve exe files detection
Issue: #3481
---
lualib/lua_magic/patterns.lua | 4 ++--
1 file 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,
}
}
},
More information about the Commits
mailing list