forked from langhun/My_ACL_Rules
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxlsp.js
60 lines (47 loc) · 1.24 KB
/
xlsp.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
/*
By:❤小白不白❤
QQ群528680197
转载请注明出处
圈x
[rewrite_local]
#雪梨解锁会员
^https:\/\/m\.pearkin\.com\/api(\/account|\/movie)(\/IndexDetail|\/IsVip|\/WatchMovieNew) url script-response-body https://raw.githubusercontent.com/qianmo001/xiaobaibubai/rm/xlsp.js
[mitm]
hostname= m.pearkin.com
破解内容:视频无线看,有问题加群反馈
*/
var body = $response.body;
var url = $request.url;
var obj = JSON.parse(body);
const vip = '/api/account/IndexDetail';
const dspq = '/api/video/watch/';
const isvip = '/api/account/IsVip';
const zwzm = '/api/movie/WatchMovieNew';
const cv = '/api/Account/CheckVip';
if (url.indexOf(vip) != -1) {
obj.nickName = "️小白不白️";
obj.vipEndTime = "2099-03-09";
obj.cartoonVip = true;
obj.vipLevel = 101;
obj.cartoonVipEndTime = "2099-03-09";
body = JSON.stringify(obj);
}
if (url.indexOf(isvip) != -1) {
obj.value = true;
body = JSON.stringify(obj);
}
if (url.indexOf(zwzm) != -1) {
obj.canWath = true;
body = JSON.stringify(obj);
}
if (url.indexOf(dspq) != -1) {
obj.value = true;
obj.message = 0;
body = JSON.stringify(obj);
}
if (url.indexOf(cv) != -1) {
obj.value = true;
obj.message = 0;
body = JSON.stringify(obj);
}
$done({body});