]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Lua_magic: Extend dmg pattern
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Oct 2019 14:17:08 +0000 (15:17 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Oct 2019 14:17:08 +0000 (15:17 +0100)
lualib/lua_magic/patterns.lua

index 5444361a2ba56c750c9621a7c7f92cce99ee2454..c1ea896599da8373882b4c0c7a9eea2afc5a4830 100644 (file)
@@ -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,
       },