首先进去3311后台,不用说了吧。
进入请求控制
点击插入,选择标记模块anti_cc,勾选white list(白名单)、fix_url(地址栏显示优化)、skip_cache(忽略高速缓存)
注:防护攻击模块没有黑名单,不存在任何误封行为。
下面这段使用的是js 200跳转防护模式,现在效果还是不错的
- HTTP/1.1 200 OK
- Content-Type: text/html; charset=utf-8
- Connection: keep-alive
- Cache-Control: no-cache,no-store
- Recaptcha: sakura
- <html><body><script language=”javascript”>window.location=”{{url}}”;</script><a href=”{{url}}”><div class=”notice”>
- <div class=”title”>You have verified successfully</div>
- <div class=”description”>Please wait, you are being redirected …</div>
- </div></a></body></html>
根据按照图上设置,10秒内8次请求启用CC防护,能完美防护大量常见CC模式,(如果因为攻击太小,有漏的就启用0 0模式,完美0漏CC验证),并且不会出现网址上带一串链接的情况,上面规则已经测试非常好用了。
原地址:https://bbs.itzmx.com/thread-7047-1-1.html
kangle cc防护 点击继续访问,一个美化css的界面
- HTTP/1.1 200 OK
- Content-Type: text/html; charset=utf-8
- Connection: keep-alive
- Cache-Control: no-cache,no-store
- Recaptcha: sakura
- <!DOCTYPE html>
- <meta charset=”utf-8″>
- <style>
- body,h1,h2,h3,h4,p,form,ol,ul{margin:0;}
- ol,ul{padding:0;}
- body,textarea,input,option,button{font:1.5em “PT Serif”,\5FAE\8EDF\6B63\9ED1\9AD4,\5FAE\8F6F\96C5\9ED1,\534E\6587\7EC6\9ED1,Georgia,Times,”Times New Roman”,serif;color:#222;}
- h1,h2,h3,h4{font-weight:300;}
- textarea:focus,input:focus{outline:none;}
- ::selection{background:rgba(0,149,255,0.1);}
- ul{list-style-type:none;}
- a{color:#333;text-decoration:none;}
- html{overflow:auto;overflow-y:scroll;}
- img{border:0 none;width:55px;height:54px;}
- .o{overflow:hidden;zoom:1;}
- .l{float:left;}
- .r{float:right;}
- html{text-align:center;}
- h1{font-size:3em;padding:1em 0;}
- p{padding:10px 0;}
- .footer{padding:3em;color:#999;}
- </style>
- <title>CDN 安全防护系统</title>
- <script>
- function addZero(str,lenght){
- return (Array(lenght).join(0) + str).slice(-lenght);
- }
- function goto()
- {
- s1=2268322/151;
- s2=6585-151;s1=addZero(s1,5);s2=addZero(s2,5);se=s1+s2;
- location.href=”{{murl}}”;}</script><h1>CDN 安全防护系统</h1><p>该网站可能遇到CC攻击,正在对您的身份进行鉴定,单击下方按钮跳转至该网站</p><p><input type=”button” onclick=”goto();” value=”-> 继续访问 <-” /></p><div class=”footer”>© CDN 安全防护系统</div><!–theme by sakura–>
复制代码