commit 82106bb: [Minor] Lua_magic: Extend dmg pattern
Vsevolod Stakhov
vsevolod at highsecure.ru
Sat Oct 5 14:21:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-05 15:17:08 +0100
URL: https://github.com/rspamd/rspamd/commit/82106bb10646675b30a73c5ba5475e84afbae926 (HEAD -> master)
[Minor] Lua_magic: Extend dmg pattern
---
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 5444361a2..c1ea89659 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -261,8 +261,8 @@ local patterns = {
dmg = {
matches = {
{
- string = [[koly]],
- position = -512 + 4,
+ string = [[koly\x{00}\x{00}\x{00}\x{04}]],
+ position = -512 + 8,
weight = 61,
tail = 512,
},
More information about the Commits
mailing list