From: Vsevolod Stakhov Date: Sat, 5 Oct 2019 14:17:08 +0000 (+0100) Subject: [Minor] Lua_magic: Extend dmg pattern X-Git-Tag: 2.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82106bb10646675b30a73c5ba5475e84afbae926;p=thirdparty%2Frspamd.git [Minor] Lua_magic: Extend dmg pattern --- diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 5444361a2b..c1ea896599 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, },