2019-11-07 23:58:48 +08:00
|
|
|
/*
|
2021-07-04 16:32:52 +08:00
|
|
|
Bigshot 解锁高级特权(需登录)
|
2019-11-07 23:58:48 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
***************************
|
|
|
|
QuantumultX:
|
2019-11-07 23:58:48 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
[rewrite_local]
|
|
|
|
^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js
|
2019-11-07 23:58:48 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
[mitm]
|
|
|
|
hostname = vni.kwaiying.com
|
2019-11-07 23:58:48 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
***************************
|
|
|
|
Surge4 or Loon:
|
2019-08-16 16:17:16 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
[Script]
|
|
|
|
http-response ^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js
|
2019-08-16 16:17:16 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
[MITM]
|
|
|
|
hostname = vni.kwaiying.com
|
|
|
|
**************************/
|
2019-08-16 16:17:16 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
var obj = JSON.parse($response.body);
|
2019-08-16 16:17:16 +08:00
|
|
|
|
2021-07-04 16:32:52 +08:00
|
|
|
if (obj.data && obj.data.userInfo) {
|
|
|
|
obj.data.userInfo.isVip = 1;
|
|
|
|
obj.data.userInfo.memberId = 666
|
|
|
|
obj.data.userInfo.vipStartTime = 1591430766000;
|
|
|
|
obj.data.userInfo.vipEndTime = 3043037166000;
|
|
|
|
}
|
|
|
|
|
|
|
|
$done({ body: JSON.stringify(obj) });
|