forked from yqc007/QuantumultX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BananaVideoCrack.js
127 lines (116 loc) · 3.48 KB
/
BananaVideoCrack.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/******************************
脚本功能:香蕉视频解锁无限次数
软件版本:1.1.0
下载地址:https://shrtm.nu/xjsp
脚本作者:Hausd0rff
更新时间:2022-07-24
脚本发布:https://t.me/yqc_123
问题反馈:https://t.me/yqc_777
使用声明:⚠️此脚本仅供学习与交流,
请勿转载与贩卖!⚠️⚠️⚠️
*******************************
[rewrite_local]
# > 香蕉视频解锁无限次数
^https?:\/\/.+\/(index|ucp\/index|vod\/(show|reqplay\/)|getGlobalData).+ url script-response-body https://raw.githubusercontent.com/yqc007/QuantumultX/master/BananaVideoCrack.js
[mitm]
hostname = o0o0plpl11.xinai99.com
*******************************/
var body = $response.body;
var urlq = $request.url;
var objc = JSON.parse(body);
const config = '/getGloba';
const slider = 'com/index';
const ssuper = '/ucp/index';
const reshow = '/vod/show';
const replay = '/vod/reqp';
if (urlq.indexOf(config) != -1) {
delete objc.data.adrows;
delete objc.data.adgroups;
delete objc.data.popuptext;
delete objc.data.popuptext_v2;
delete objc.data.iOS_adgroups;
delete objc.data.popuptext_iOS;
delete objc.data.Android_adgroups;
delete objc.data.popuptext_Android;
delete objc.data.app_launch_type_adshow;
objc.data.app_launch_times_adshow = 0;
body = JSON.stringify(objc);
}
if (urlq.indexOf(slider) != -1) {
objc.data.v2sliderows = [
{
"title" : "WatchAss",
"scene" : "web.url",
"url" : "https:\/\/t.me\/yqc_123",
"pic" : "https:\/\/tva1.sinaimg.cn\/large\/006Xmmmggy1g5xvgq2w6gj31zo0u04qq.jpg"
}
];
delete objc.data.sliderows;
delete objc.data.pcsliderows;
delete objc.data.mbsliderows;
body = JSON.stringify(objc);
}
if (urlq.indexOf(ssuper) != -1) {
objc.data.user = {
"dueday" : "999999天后过期",
"sysgid" : "101",
"newmsg" : "1",
"nickname" : "Hausd0rff Crack",
"duetime" : "2999-09-28 09:09:09",
"gids" : null,
"mobi" : "86.18812011099",
"gicon" : "V5",
"avatar_url" : "https:\/\/thirdqq.qlogo.cn\/g?b=oidb&k=iaODNibZcQQTN0QPGShfkKIw&s=640",
"goldcoin" : 1e6,
"exampass" : 1,
"gender" : 1,
"uid" : "666666",
"uniqkey" : "666666",
"email" : "~1236868666",
"isvip" : 1,
"gid" : "17",
"avatar" : "",
"regtime" : "2021-11-09 09:18:00",
"username" : "~1236868666"
}
objc.data.uinfo = {
"goldcoin" : "1000000",
"down_daily_remainders" : 1e6,
"curr_group" : {
"minup" : "1000000",
"gicon" : "V101",
"gid" : "101",
"gname" : "尊贵VIP"
},
"minivod_play_daily_remainders" : 1e6,
"minivod_down_daily_remainders" : 1e6,
"next_upgrade_need" : 0,
"play_daily_remainders" : 1e6,
"next_group" : {
"minup" : "2000000",
"gicon" : "V102",
"gid" : "102",
"gname" : "禁止发言"
}
};
body = JSON.stringify(objc);
}
if (urlq.indexOf(reshow) != -1) {
objc.data.vodrow.isvip = 0;
objc.data.vodrow.islimit = 0;
objc.data.vodrow.islimitv3 = 0;
body = JSON.stringify(objc);
}
if (urlq.indexOf(replay) != -1) {
objc.retcode = 0;
objc.errmsg = "";
if (objc.data.hasOwnProperty('httpurl_preview')) {
var httpurl = objc.data['httpurl_preview']['replace'](/m3u8\?300/g,'m3u8');
objc.data['httpurl'] = httpurl;
delete objc.data.httpurl_preview;
}
body = JSON.stringify(objc);
}
$done({
body
});