forked from WeiGiegie/666
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslzd.js
109 lines (98 loc) · 3.04 KB
/
slzd.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
/*
*
*
脚本功能:三联中读,知识会员+数字刊会员
软件版本:++
下载地址:苹果商店下载
脚本作者:
更新时间:2024年6月3日 23:07
电报频道:https://t.me/GieGie777
问题反馈:
使用声明:此脚本仅供学习与交流,请在下载使用24小时内删除!请勿在中国大陆转载与贩卖!
*******************************
[rewrite_local]
# > 三联中读,知识会员+数字刊会员
^https?:\/\/apis\.lifeweek\.com\.cn\/(vip\/loadMyVipV2\?|index\/home.do\?).*$ url script-response-body https://raw.githubusercontent.com/WeiGiegie/666/main/slzd.js
[mitm]
hostname = apis.lifeweek.com.cn
*
*
*/
var body = $response.body;
var url = $request.url;
var obj = JSON.parse(body);
const p1 = "/index/home.do?";
const p2 = "/vip/loadMyVipV2?";
if (url.indexOf(p1) != -1) {
obj = {
"extraInfoMap": {
},
"model": {
"msgRed": 0,
"registerTime": 1717427232727,
"arOpen": true,
"visitor": {
"uid": 2735406,
"ticket": "1717427232744hlpdg"
},
"buyZhuanlanNewArticle": 1,
"buyMsgNum": 1,
"userInfo": {
"phone": "",
"uid": 2735406,
"userVflag": 0,
"remark": "此脚本仅供学习与交流,请在下载使用24小时内删除!请勿在中国大陆转载与贩卖!!!作者TG频道 : https://t.me/GieGie777",
"pic": "https://zdimg.lifeweek.com.cn/app/20230410/16811146599505136.jpg",
"isVip": true,
"name": "https://t.me/GieGie777"
}
},
"resultMsg": "操作成功!",
"redirectUrl": null,
"resultCodeBean": "SUCCESS",
"resultCode": "SUCCESS",
"success": true,
"pickParams": {
}
}
body = JSON.stringify(obj);
}
if (url.indexOf(p2) != -1) {
obj = {
"extraInfoMap": {
},
"model": [{
"userHeadPic": "https://zdimg.lifeweek.com.cn/app/20230410/16810960185662892.jpg",
"vipLevel": 4,
"vipExpiration": "2999-09-09",
"vip": true,
"username": "https://t.me/GieGie777",
"vipValid": true
}, {
"userHeadPic": "https://zdimg.lifeweek.com.cn/app/20230410/16810960185662892.jpg",
"vipLevel": 5,
"vipExpiration": "",
"vip": false,
"username": "https://t.me/GieGie777",
"vipValid": true
}, {
"userHeadPic": "https://zdimg.lifeweek.com.cn/app/20230410/16810960185662892.jpg",
"vipLevel": 6,
"vipExpiration": "2999-09-09",
"vip": true,
"username": "https://t.me/GieGie777",
"vipValid": true
}],
"resultMsg": "操作成功!",
"redirectUrl": null,
"resultCodeBean": "SUCCESS",
"resultCode": "SUCCESS",
"success": true,
"pickParams": {
}
}
body = JSON.stringify(obj);
}
$done({
body
});