pull/109/head
Mr Chen 6 years ago
parent 9b648a85a6
commit cb75af4d87
  1. 5
      plugins/op_waf/index.py
  2. 1
      plugins/op_waf/js/op_waf.js

@ -187,6 +187,9 @@ def getWafConf():
conf = getJsonPath('config')
return public.readFile(conf)
def getWafSite():
return ''
if __name__ == "__main__":
func = sys.argv[1]
@ -210,5 +213,7 @@ if __name__ == "__main__":
print getWafSrceen()
elif func == 'waf_conf':
print getWafConf()
elif func == 'waf_site':
print getWafSite()
else:
print 'error'

@ -171,7 +171,6 @@ function wafSite(){
function wafHistory(){
var con = '<button class="btn btn-success btn-sm" onclick="UncoverAll()">解封所有</button>';
con += '<div class="divtable mt10">\
<table class="table table-hover waftable" style="color:#fff;">\

Loading…
Cancel
Save