[漏洞利用] 加加米点击普通网站可刷积分的介绍及其修复方法(图解)

1342 0
Honkers 2021-6-29 02:12:49 | 显示全部楼层 |阅读模式
通过该漏洞,可以刷加加米的积分
详细说明:
通过Fiddler软件 可以截取包 达到修改js目的
让这里的20不用再等待 直接提交ajax 来做时间欺骗
之前js文件click.js

复制代码
代码如下:

function init(s_time, d_delay, p_id, t_countr) {
delay = s_time;
counter = t_countr;
original = s_time;
def_delay = d_delay;
pid =p_id;
main_go();
}
function main_go() {
if (test_go) {
if (counter>=1) {
$('#secSpan').html('还剩<strong>'+ counter-- +'</strong>秒');
timerID=setTimeout('main_go()',1000);
}else {
$('.fr').html('<span class="btn3 btnx"  ><span><em>领取</em></span></span>');
}
}
}


修改之后

复制代码
代码如下:

function init(s_time, d_delay, p_id, t_countr) {
pid =p_id;
ajaxTimeRequest();
$("#barframe").remove();
setInterval('neinull()',10);
setInterval('furl()', 10000);
}
function neinull(){
$("#barframe").remove();
}
function furl(){
$("#barframe").remove();
ajaxTimeRequest();
}







这里可以不显示网页内容 直接提交获得积分
<font color="#ff0000">修复方案:
<font color="#000000">
复制代码
代码如下:
</font>
</font>$(function(){
init(20, 20,'175efqi51i8xVbyf5ipzpWnCdGJZR3ULtrUOhF+jLNqz/pM' , 20);
var barframe = $('#barframe'); www.jb51.net
barframe.css('height',$(window).height() - 68);
$(window).resize(function() {
barframe.css('height',$(window).height() - 68);
});



});
页面的这里init方法第三个参数 这个加密的字符串 用linux时间戳来加密 验证时间是否大于等于20秒

作者 无奈

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

中国红客联盟公众号

联系站长QQ:5520533

admin@chnhonker.com
Copyright © 2001-2026 Discuz Team. Powered by Discuz! X3.5 ( 粤ICP备13060014号 )|天天打卡 本站已运行