【已验证】Kangle面板极验证防CC跟后台设置的CC有冲突,不开cc的主机都有验证

效果截图:

Untitled.png

教程开始:

1、打开Kangle后台 ip:3311

Untitled.png

2、点击“请求控制” 打开

Untitled.png

3、点击下方“插入”

Untitled.png

4、可用标记模块选择anti_cc

Untitled.png

5、按图中配置,将下方代码复制粘贴即可。

Untitled.png

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store
Recaptcha: diancc
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>人机验证系统</title>
<meta name="theme-color" content="#3c48b5"/>
<meta name="msapplication-TileColor" content="#3c48b5"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" />
<meta http-equiv="X-UA-Compatible" content="IE-edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="//blog.cozv.cn/file/css/kangle_anti_cc.css" rel="stylesheet">
<style>
    html, body, h1 {
        margin: 0;
        padding: 0;
    }
    body { height: 1024px;background: -webkit-linear-gradient(left top, #009900 , #4C33E5);background: -o-linear-gradient(bottom right, #009900, #4C33E5);background: -moz-linear-gradient(bottom right, #009900, #4C33E5);background: linear-gradient(to bottom right, #009900 , #4C33E5); color: #d5d4ff; overflow: hidden    }
    #demo {
        width: 600px;
        margin: 150px auto;
        padding: 10px;
        border: 1px dashed #d5d4ff;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        text-align: left;
    }
</style>
</head>
<body style="">
<br><br><br><center><p>该网站疑似被CC攻击,需要对你身份鉴定</p></center>
<script>
var host_url = function(){
    var port = location.port;
    var Host_Url = "http://";

    if(port == 80){
        Host_Url += location.hostname;
    }else{
        Host_Url += location.host;
    }

    return Host_Url;
}();
</script>
<p><center><div id="captcha-box"></center></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>
<acl_file_ext revers='1'  icase='1' split='|'>css|gif|ico|jpg|js|kos|png|ttf</acl_file_ext>
</body></html>

欢迎指出任何有错误或不够清晰的表达,可以在下面评论区评论。

×

喜欢就点赞,疼爱就打赏

//