pull/209/head
midoks 3 years ago
parent 31c5e42b09
commit 3b51ef2434
  1. 1
      plugins/op_waf/index.py
  2. 2
      plugins/op_waf/waf/total.json

@ -830,7 +830,6 @@ def getSafeLogs():
return data[1] return data[1]
path = getServerDir() + '/logs' path = getServerDir() + '/logs'
file = path + '/' + args['siteName'] + '_' + args['toDate'] + '.log' file = path + '/' + args['siteName'] + '_' + args['toDate'] + '.log'
if not os.path.exists(file): if not os.path.exists(file):
return mw.returnJson(False, "文件不存在!") return mw.returnJson(False, "文件不存在!")

@ -1 +1 @@
{"rules":{"user_agent":0,"cookie":0,"post":0,"args":0,"url":0,"cc":0},"sites":{},"total":0} {"rules":{"user_agent":0,"scan":0,"cookie":0,"post":0,"args":0,"url":0,"cc":0},"sites":{},"total":0}
Loading…
Cancel
Save