-
Notifications
You must be signed in to change notification settings - Fork 0
/
wanyuanyuedu.js
26 lines (21 loc) · 9.84 KB
/
wanyuanyuedu.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
/*
万源阅读:https://apps.apple.com/app/id6446446808
[rewrite_local]
^https?:\/\/buy\.itunes\.apple\.com\/verifyReceipt$ url script-response-body https://raw.githubusercontent.com/zhengjianyang/SurgeRule/main/wanyuanyuedu.js
[MITM]
hostname = buy.itunes.apple.com
*/
let result = null;
try {
result = JSON.parse(typeof $response != "undefined" && $response.body || null);
} catch (error) {
$done({});
}
if (result === null) {
$done({});
}
if (result.receipt.bundle_id != "com.lmf.wext") {
$done({});
}
result = {"receipt":{"receipt_type":"Production","app_item_id":6446446808,"receipt_creation_date":"2023-09-21 08:36:16 Etc/GMT","bundle_id":"com.lmf.wext","original_purchase_date":"2023-08-16 09:37:28 Etc/GMT","in_app":[{"quantity":"1","purchase_date_ms":"1692179011000","expires_date":"9999-08-19 09:43:31 Etc/GMT","expires_date_pst":"9999-08-19 02:43:31 America/Los_Angeles","is_in_intro_offer_period":"false","transaction_id":"570001284708343","is_trial_period":"true","original_transaction_id":"570001284708343","purchase_date":"2023-08-16 09:43:31 Etc/GMT","product_id":"com.lmf.wext.life","original_purchase_date_pst":"2023-08-16 02:43:32 America/Los_Angeles","in_app_ownership_type":"PURCHASED","original_purchase_date_ms":"1692179012000","web_order_line_item_id":"570000587977930","expires_date_ms":"253392455349000","purchase_date_pst":"2023-08-16 02:43:31 America/Los_Angeles","original_purchase_date":"2023-08-16 09:43:32 Etc/GMT"}],"adam_id":6446446808,"receipt_creation_date_pst":"2023-09-21 01:36:16 America/Los_Angeles","request_date":"2023-09-21 08:37:09 Etc/GMT","request_date_pst":"2023-09-21 01:37:09 America/Los_Angeles","version_external_identifier":860035513,"request_date_ms":"1695285429618","original_purchase_date_pst":"2023-08-16 02:37:28 America/Los_Angeles","application_version":"1","original_purchase_date_ms":"1692178648000","receipt_creation_date_ms":"1695285376000","original_application_version":"1","download_id":502698636040420700},"environment":"Production","status":0,"latest_receipt":"MIIUZgYJKoZIhvcNAQcCoIIUVzCCFFMCAQExDzANBglghkgBZQMEAgEFADCCA5wGCSqGSIb3DQEHAaCCA40EggOJMYIDhTAKAgEUAgEBBAIMADALAgEDAgEBBAMMATEwCwIBEwIBAQQDDAExMAsCARkCAQEEAwIBAzAMAgEOAgEBBAQCAgDPMA0CAQoCAQEEBRYDMTcrMA0CAQ0CAQEEBQIDAkxIMA4CAQkCAQEEBgIEUDMwMjAOAgELAgEBBAYCBAd9CqswDgIBEAIBAQQGAgQzQxm5MA8CAQECAQEEBwIFAYA8+NgwEgIBDwIBAQQKAggG+fG+/kM9MjAUAgEAAgEBBAwMClByb2R1Y3Rpb24wFgIBAgIBAQQODAxjb20ubG1mLndleHQwGAIBBAIBAgQQLVOBk5+iNjdPH6jk3XrzBDAcAgEFAgEBBBQccwKhIyCzVWcAh8SN0ndXGjCv7jAeAgEIAgEBBBYWFDIwMjMtMDktMjFUMDg6MzY6MTZaMB4CAQwCAQEEFhYUMjAyMy0wOS0yMVQwODozNzowOVowHgIBEgIBAQQWFhQyMDIzLTA4LTE2VDA5OjM3OjI4WjAzAgEGAgEBBCvzu77FIRVJtlx5+1NII5lANNHDiV1YA1iNL3Chw7aMgF68fVUGItzvujkxMEICAQcCAQEEOqO6o2cSvN5h6N7FKYNHhTGLGE2PFMtzNE2x0kY/Jd5XMlDLgyavl2gJwWJK2N0fBXwIQC38U5r6LeAwggGOAgERAgEBBIIBhDGCAYAwCwICBq0CAQEEAgwAMAsCAgawAgEBBAIWADALAgIGsgIBAQQCDAAwCwICBrMCAQEEAgwAMAsCAga0AgEBBAIMADALAgIGtQIBAQQCDAAwCwICBrYCAQEEAgwAMAwCAgalAgEBBAMCAQEwDAICBqsCAQEEAwIBAzAMAgIGsQIBAQQDAgEBMAwCAga3AgEBBAMCAQAwDAICBroCAQEEAwIBADAQAgIGrgIBAQQHAgU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bvZNCJBIqxw8dtk2cXmPIS4AXUKqK1drk/NAJBzewdXUhMYIBtTCCAbECAQEwgYkwdTFEMEIGA1UEAww7QXBwbGUgV29ybGR3aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxCzAJBgNVBAsMAkc1MRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUwIQFeefzlJVCmUBfJHf5O6zWTANBglghkgBZQMEAgEFADANBgkqhkiG9w0BAQEFAASCAQAJbMyJWtWGitVqvL5t6sgo7DDB5PrI7WtiYVM6kmTbZT3lIVodrblQEj0pVOX/qLSJneYaXCuDpCm23YLubHkH2PkwR0L5V5cDXudJeqe3twkgrMtaZwSNCxlm3Lt5S9Ayogb8a07Jr9ZgIPibTM1HQYcKjoppPzylXNruD9iEAu4S351NqFEmGNYRZUrx8b+lHLoaEyrcYkcHaRjNXPVTddGXwMoMk9h3sAgZdfzpG4JcoVKhArXi2ynsjIaRe9XI8NkugaKWK7QN1ZOaP0mRSevVFItWG2zexGnK6vjTjeJsT55QyIpscvc/RMy3XlDMAOd3TyR4iYBskVpZt3bc","pending_renewal_info":[{"expiration_intent":"1","product_id":"com.lmf.wext.life","is_in_billing_retry_period":"0","auto_renew_product_id":"com.lmf.wext.life","original_transaction_id":"570001284708343","auto_renew_status":"0"}],"latest_receipt_info":[{"quantity":"1","purchase_date_ms":"1692179011000","expires_date":"9999-08-19 09:43:31 Etc/GMT","expires_date_pst":"9999-08-19 02:43:31 America/Los_Angeles","is_in_intro_offer_period":"false","transaction_id":"570001284708343","is_trial_period":"true","original_transaction_id":"570001284708343","purchase_date":"2023-08-16 09:43:31 Etc/GMT","product_id":"com.lmf.wext.life","original_purchase_date_pst":"2023-08-16 02:43:32 America/Los_Angeles","in_app_ownership_type":"PURCHASED","subscription_group_identifier":"21355328","original_purchase_date_ms":"1692179012000","web_order_line_item_id":"570000587977930","expires_date_ms":"253392455349000","purchase_date_pst":"2023-08-16 02:43:31 America/Los_Angeles","original_purchase_date":"2023-08-16 09:43:32 Etc/GMT"}]}
$done({ body: JSON.stringify(result) });