mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2024-12-29 02:29:24 +08:00
19 lines
689 B
JavaScript
19 lines
689 B
JavaScript
|
/*
|
|||
|
Termius unlocks local pro v
|
|||
|
(From the author @Maasea)
|
|||
|
|
|||
|
Surge4:
|
|||
|
http-response https:\/\/api\.termius\.com\/api\/v3\/bulk\/account\/ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Termius.js
|
|||
|
|
|||
|
QX:
|
|||
|
https:\/\/api\.termius\.com\/api\/v3\/bulk\/account\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Termius.js
|
|||
|
|
|||
|
Surge & QX MITM = api.termius.com
|
|||
|
*/
|
|||
|
|
|||
|
let obj=JSON.parse($response.body)
|
|||
|
obj.account["pro_mode"] = true;
|
|||
|
obj.account["plan_type"] = "Premium";
|
|||
|
obj.account["user_type"] = "Premium";
|
|||
|
obj.account["current_period"]["until"] = "2099-10-10T03:27:34";
|
|||
|
$done({body:JSON.stringify(obj)})
|