mirror of
https://git-qiuchenly.yltfspace.com/QiuChenly/corepatch
synced 2025-11-25 22:42:23 +08:00
@@ -1,5 +1,5 @@
|
||||
const hostname = ['v3.paddleapi.com','api.elpass.app','api.gumroad.com',
|
||||
'amazonaws.com'
|
||||
'amazonaws.com','buy.itunes.apple.com'
|
||||
// '/.*?\.execute-api.*\.amazonaws\.com/'
|
||||
]
|
||||
const url = $request.url;
|
||||
@@ -33,6 +33,10 @@ const handleRequest = () => {
|
||||
if (['meddle-activate','meddle-authenticate','meddle-deactivate'].some(end => path.endsWith(end))) {
|
||||
MacUpdater();
|
||||
}
|
||||
} else if (domain === (hostname[4])){
|
||||
if (path.endsWith('verifyReceipt')){
|
||||
IShot();
|
||||
}
|
||||
}
|
||||
|
||||
$done({});
|
||||
@@ -174,4 +178,20 @@ const MacUpdater = () => {
|
||||
});
|
||||
};
|
||||
|
||||
// ishot
|
||||
const IShot = () => {
|
||||
let body = JSON.parse($response.body);
|
||||
body = {
|
||||
"status" : 0,
|
||||
"receipt" : {
|
||||
"in_app" : [
|
||||
{
|
||||
"expires_date_ms":2038608488000
|
||||
}
|
||||
],
|
||||
},
|
||||
};
|
||||
$done({body : JSON.stringify(body)});
|
||||
}
|
||||
|
||||
handleRequest();
|
||||
|
||||
@@ -10,5 +10,8 @@ MediaMate = type=http-request,pattern=^https:\/\/api\.gumroad\.com\/v2\/licenses
|
||||
|
||||
MacUpdater = type=http-request,pattern=^https:\/\/.*?\.execute-api.*\.amazonaws\.com\/default\/.*, script-path=https://raw.githubusercontent.com/QiuChenlyOpenSource/91QiuChen/main/Surge模块/crack.js, requires-body=true, timeout=10, script-update-interval=604800
|
||||
|
||||
IShot = type=http-response,pattern=^https?:\/\/buy\.itunes\.apple\.com\/verifyReceipt$, script-path=https://raw.githubusercontent.com/QiuChenlyOpenSource/91QiuChen/main/Surge模块/crack.js, requires-body=true, timeout=10, script-update-interval=604800
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% v3.paddleapi.com, api.elpass.app, api.gumroad.com, .*?.execute-api.*.amazonaws.com
|
||||
hostname = %APPEND% v3.paddleapi.com, api.elpass.app, api.gumroad.com, .*?.execute-api.*.amazonaws.com,buy.itunes.apple.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user