From 4ce30ff46e66a7b3de7cb7ef048da806136ef410 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 24 Apr 2019 19:24:20 +0800 Subject: [PATCH] waf dev --- plugins/op_waf/index.html | 233 +++++++++++++++++++++++++++++++++++++++++++- plugins/op_waf/js/op_waf.js | 60 ++++++++++++ 2 files changed, 291 insertions(+), 2 deletions(-) diff --git a/plugins/op_waf/index.html b/plugins/op_waf/index.html index 344df25aa..28e84949e 100755 --- a/plugins/op_waf/index.html +++ b/plugins/op_waf/index.html @@ -1,9 +1,238 @@ +

服务

-

信息

+

防火墙首页

+

全局配置

+

站点配置

+
@@ -11,7 +240,7 @@
\ No newline at end of file diff --git a/plugins/op_waf/js/op_waf.js b/plugins/op_waf/js/op_waf.js index e0cba5f83..2d42556d0 100755 --- a/plugins/op_waf/js/op_waf.js +++ b/plugins/op_waf/js/op_waf.js @@ -14,3 +14,63 @@ function owPost(method, args, callback){ },'json'); } + + +function wafScreen(){ + + var con = '
总拦截0
'; + con += '
安全防护0
'; + + con += '
\ +
POST渗透0
\ +
GET渗透0
\ +
CC攻击0
\ +
恶意User-Agent0
\ +
Cookie渗透0
\ +
恶意扫描0
\ +
恶意HEAD请求0
\ +
URI自定义拦截0
\ +
URI保护0
\ +
恶意文件上传0
\ +
禁止的扩展名0
\ +
禁止PHP脚本0
\ +
'; + + con += '
    \ +
  • 在此处关闭防火墙后,所有站点将失去保护
  • \ +
  • 网站防火墙会使nginx有一定的性能损失(<5% 10C静态并发测试结果)
  • \ +
  • 网站防火墙仅主要针对网站渗透攻击,暂时不具备系统加固功能
  • \ +
'; + + $(".soft-man-con").html(con); +} + + +function wafGloabl(){ + var con = '
\ + \ + \ + \ + \ + \ + \ + \ +
名称描述响应状态操作
\ +
'; + $(".soft-man-con").html(con); +} + + +function wafSite(){ + var con = '
\ + \ + \ + \ + \ + \ + \ + \ +
名称描述响应状态操作
\ +
'; + $(".soft-man-con").html(con); +}