kangle后台添加极验滑块验证防护CC

概念效果图

防护为小樱的极验滑块的策略+点击盾的策略结合体,当然不可能像上图那样!这里给出原理大家可以自行修改Diy

目前是显示效果是这样→

代码:

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>
<h1>CDN 安全防护系统</h1><p>该网站可能遇到CC攻击,正在对您的身份进行鉴定,单击下方按钮跳转至该网站</p><p><div id="captcha-box"></div>
<script src="https://api.geetest.com/get.php"></script>
<script>
    var captchaObj = new Geetest({
        gt: "0f952b4dac90c9d279a11b4739eedddb",
        product: "embed",
        lang: "zh-cn"
    });
    captchaObj.appendTo("#captcha-box");
    captchaObj.onSuccess(function () {
        location.href="{{murl}}";
    });
    captchaObj.getValidate();
</script></p><div class="footer">© CDN 安全防护系统</div><!--theme by sakura-->

 

1 条评论

发表评论

*