-
Notifications
You must be signed in to change notification settings - Fork 0
/
CamScanner.js
45 lines (38 loc) · 1.28 KB
/
CamScanner.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
/*
CamScanner 解锁部分高级特权
***************************
Quantumult X:
[rewrite_local]
^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/githubdulong/Script/master/CamScanner.js
[mitm]
hostname = ap*.intsig.net
***************************
Surge4 or Loon:
[Script]
http-response https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/githubdulong/Script/master/CamScanner.js
[MITM]
hostname = ap*.intsig.net
**************************/
let body = JSON.parse($response.body)
body.data.psnl_vip_property = {"renew_method": "appstore",
"initial_tm": "1614867690",
"svip": 1,
"auto_renewal": true,
"ms_first_pay": 0,
"pending": 0,
"group2_paid": 0,
"inherited_flag": 0,
"nxt_renew_tm": "9915126887",
"level_info": {
"level": 1,
"days": 1,
"end_days": 30
},
"group1_paid": 1,
"ys_first_pay": 0,
"renew_type": "year",
"expiry": 8487890487,
"grade": 2,
"last_payment_method": "appstore",
"product_id": "com.intsig.camscanner.premiums.oneyear.autorenewable.svip.low"}
$done({body:JSON.stringify(body)})