Script/Surge/JS/CamScanner.js

34 lines
1.0 KiB
JavaScript
Raw Normal View History

2019-11-14 01:16:05 +08:00
/*
2021-07-04 16:32:52 +08:00
CamScanner 解锁部分高级特权
2019-11-14 01:16:05 +08:00
2021-07-04 16:32:52 +08:00
***************************
Quantumult X:
[rewrite_local]
2019-11-17 12:16:44 +08:00
^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js
2019-11-14 01:16:05 +08:00
2021-07-04 16:32:52 +08:00
[mitm]
hostname = ap*.intsig.net
2019-11-14 01:16:05 +08:00
2021-07-04 16:32:52 +08:00
***************************
Surge4 or Loon:
[Script]
2019-11-17 12:16:44 +08:00
http-response https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js
2019-11-14 01:16:05 +08:00
2021-07-04 16:32:52 +08:00
[MITM]
hostname = ap*.intsig.net
***************************
Quantumult:
[REWRITE]
https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url simple-response SFRUUC8xLjEgMjAwIE9LCgp7CiAiZGF0YSI6IHsKICAicHNubF92aXBfcHJvcGVydHkiOiB7CiAgICJleHBpcnkiOiAiMTY0MzczMTIwMCIKICB9CiB9Cn0=
[MITM]
hostname = ap*.intsig.net
2019-11-14 01:16:05 +08:00
2021-07-04 16:32:52 +08:00
**************************/
2019-11-14 01:16:05 +08:00
let obj = JSON.parse($response.body);
2022-06-19 10:53:27 +08:00
obj = {"data":{"psnl_vip_property":{"expiry":"1687017600"}}};
2019-11-14 01:16:05 +08:00
$done({body: JSON.stringify(obj)});