前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Kangle面板防CC 滑动人机验证系统 可有效缓解CC攻击

Kangle面板防CC 滑动人机验证系统 可有效缓解CC攻击

作者头像
程序员纬度
发布2021-03-02 11:04:11
1.9K0
发布2021-03-02 11:04:11
举报
文章被收录于专栏:奇异维度

效果截图:

教程开始:

1、打开Kangle后台 ip:3311

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

3、点击下方“插入”

4、可用标记模块选择anti_cc

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

代码语言:javascript
复制
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>

版权声明:本站原创文章 Kangle面板防CC 滑动人机验证系统 可有效缓解CC攻击 由 小维 发表!

转载请注明:Kangle面板防CC 滑动人机验证系统 可有效缓解CC攻击 - 小维的个人博客

部分素材来源于网络,如有侵权请联系删除!

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020 年 06 月,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档