From 3b51ef2434e6cdc9096066119ce5ecea77654b08 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 9 Oct 2022 01:49:17 +0800 Subject: [PATCH] up --- plugins/op_waf/index.py | 1 - plugins/op_waf/waf/total.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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