diff options
Diffstat (limited to 'lualib/lua_scanners/kaspersky_se.lua')
-rw-r--r-- | lualib/lua_scanners/kaspersky_se.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/lua_scanners/kaspersky_se.lua b/lualib/lua_scanners/kaspersky_se.lua index 50e55f3d4..098e33cdf 100644 --- a/lualib/lua_scanners/kaspersky_se.lua +++ b/lualib/lua_scanners/kaspersky_se.lua @@ -33,7 +33,7 @@ local function kaspersky_se_config(opts) local default_conf = { name = N, - default_port = 1234, + default_port = 9999, use_https = false, use_files = false, timeout = 5.0, @@ -99,10 +99,10 @@ local function kaspersky_se_check(task, content, digest, rule) end if rule.use_https then url = string.format('https://%s:%d%s', tostring(addr), - rule.default_port, suffix) + addr:get_port(), suffix) else url = string.format('http://%s:%d%s', tostring(addr), - rule.default_port, suffix) + addr:get_port(), suffix) end return url |