From 2b2fc081204f91e13a71f15f4ed950e540bc4e68 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 11 Aug 2023 01:20:45 +0800 Subject: [PATCH] Update index.py --- plugins/op_waf/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index 6193b73d3..ce8c78b63 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -1103,6 +1103,8 @@ def getLogsList(): domain = args['site'] tojs = args['tojs'] + setDefaultSite(domain) + conn = pSqliteDb('logs') field = 'time,ip,domain,server_name,method,uri,user_agent,rule_name,reason'