aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-05 15:17:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-05 15:17:08 +0100
commit82106bb10646675b30a73c5ba5475e84afbae926 (patch)
treecdcb53ace62a3e0937bf1a47027753d61d1c4131 /lualib
parent9b6fc60bdd7c619886fcf3213ed12a682c271779 (diff)
downloadrspamd-82106bb10646675b30a73c5ba5475e84afbae926.tar.gz
rspamd-82106bb10646675b30a73c5ba5475e84afbae926.zip
[Minor] Lua_magic: Extend dmg pattern
Diffstat (limited to 'lualib')
-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 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,
},