diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index e309ae40f..91022b7c1 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -830,7 +830,6 @@ def getSafeLogs(): return data[1] path = getServerDir() + '/logs' - file = path + '/' + args['siteName'] + '_' + args['toDate'] + '.log' if not os.path.exists(file): return mw.returnJson(False, "文件不存在!") diff --git a/plugins/op_waf/waf/total.json b/plugins/op_waf/waf/total.json index ca94ae3d3..c7516630c 100644 --- a/plugins/op_waf/waf/total.json +++ b/plugins/op_waf/waf/total.json @@ -1 +1 @@ -{"rules":{"user_agent":0,"cookie":0,"post":0,"args":0,"url":0,"cc":0},"sites":{},"total":0} \ No newline at end of file +{"rules":{"user_agent":0,"scan":0,"cookie":0,"post":0,"args":0,"url":0,"cc":0},"sites":{},"total":0} \ No newline at end of file