commit b7e3902: [Minor] kaspersky_se - fix macro detection
Carsten Rosenberg
c.rosenberg at heinlein-support.de
Wed Mar 31 19:14:06 UTC 2021
Author: Carsten Rosenberg
Date: 2021-03-30 19:56:14 +0200
URL: https://github.com/rspamd/rspamd/commit/b7e39021a2e2a345df2d29740bbf7b33a54ff666 (refs/pull/3694/head)
[Minor] kaspersky_se - fix macro detection
---
lualib/lua_scanners/kaspersky_se.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lualib/lua_scanners/kaspersky_se.lua b/lualib/lua_scanners/kaspersky_se.lua
index 39031d862..cac604016 100644
--- a/lualib/lua_scanners/kaspersky_se.lua
+++ b/lualib/lua_scanners/kaspersky_se.lua
@@ -220,7 +220,7 @@ local function kaspersky_se_check(task, content, digest, rule)
rule.log_prefix)
end
elseif data == 'CLEAN AND CONTAINS OFFICE MACRO' then
- common.yield_result(task, rule, 'File contains macros', 0.0, 'encrypted')
+ common.yield_result(task, rule, 'File contains macros', 0.0, 'macro')
cached = 'MACRO'
else
rspamd_logger.errx(task, '%s: unhandled clean response: %s', rule.log_prefix, data)
More information about the Commits
mailing list