forked from ihaoljy/Rewrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OldRoll.js
104 lines (93 loc) · 3.74 KB
/
OldRoll.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
项目名称:OldRoll
下载地址:商店
脚本作者:ios151
使用声明:仅供参考,禁止转载与售卖!
[rewrite_local]
^https?:\/\/buy\.itunes\.apple\.com\/verifyReceipt$ url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/OldRoll.js
[mitm]
hostname = buy.itunes.apple.com
*/
var ios151 = JSON.parse($response.body);
ios151.receipt.bundle_id = "com.zijayrate.analogcam";
ios151.receipt.in_app.forEach(item => {
item.product_id = "com.zijayrate.analogcam.vipforever10";
});
ios151 = {
"status" : 0,
"receipt" : {
"receipt_type" : "Production",
"app_item_id" : 1608773156,
"receipt_creation_date" : "2023-06-06 16:06:26 Etc/GMT",
"bundle_id" : "com.zijayrate.analogcam",
"in_app" : [
{
"quantity" : "1",
"purchase_date_ms" : "1686065612000",
"expires_date" : "2099-09-09 09:09:09 Etc/GMT",
"expires_date_pst" : "2099-09-09 06:06:06 America/Los_Angeles",
"is_in_intro_offer_period" : "false",
"transaction_id" : "490001314520000",
"is_trial_period" : "false",
"original_transaction_id" : "490001314520000",
"purchase_date" : "2023-06-06 16:06:06 Etc/GMT",
"product_id" : "com.zijayrate.analogcam.vipforever10",
"original_purchase_date_pst" : "2023-06-06 06:06:07 America/Los_Angeles",
"in_app_ownership_type" : "PURCHASED",
"original_purchase_date_ms" : "1686065613000",
"web_order_line_item_id" : "490000123456789",
"expires_date_ms" : "4092599349000",
"purchase_date_pst" : "2023-06-06 06:06:06 America/Los_Angeles",
"original_purchase_date" : "2023-06-06 16:06:07 Etc/GMT"
}
],
"original_purchase_date" : "2023-06-06 16:00:00 Etc/GMT",
"adam_id" : 1608773156,
"receipt_creation_date_pst" : "2023-06-06 06:06:26 America/Los_Angeles",
"request_date" : "2023-06-06 16:06:27 Etc/GMT",
"request_date_pst" : "2023-06-06 06:06:27 America/Los_Angeles",
"version_external_identifier" : 888888888,
"request_date_ms" : "1686065635000",
"original_purchase_date_pst" : "2023-06-06 06:00:00 America/Los_Angeles",
"application_version" : "202208011119",
"original_purchase_date_ms" : "1686065430000",
"receipt_creation_date_ms" : "1686065634000",
"original_application_version" : "202208011119",
"download_id" : 666666666666666600
},
"Author" : "ios151",
"latest_receipt_info" : [
{
"quantity" : "1",
"purchase_date_ms" : "1686065612000",
"expires_date" : "2099-09-09 09:09:09 Etc/GMT",
"expires_date_pst" : "2099-09-09 06:06:06 America/Los_Angeles",
"is_in_intro_offer_period" : "false",
"transaction_id" : "490001314520000",
"is_trial_period" : "false",
"original_transaction_id" : "490001314520000",
"purchase_date" : "2023-06-06 16:06:06 Etc/GMT",
"product_id" : "com.zijayrate.analogcam.vipforever10",
"original_purchase_date_pst" : "2023-06-06 06:06:07 America/Los_Angeles",
"in_app_ownership_type" : "PURCHASED",
"original_purchase_date_ms" : "1686065613000",
"web_order_line_item_id" : "490000123456789",
"expires_date_ms" : "4092599349000",
"purchase_date_pst" : "2023-06-06 06:06:06 America/Los_Angeles",
"original_purchase_date" : "2023-06-06 16:06:07 Etc/GMT"
}
],
"latest_receipt" : "ios151",
"environment" : "Production",
"pending_renewal_info" : [
{
"product_id" : "com.zijayrate.analogcam.vipforever10",
"original_transaction_id" : "490001314520000",
"auto_renew_product_id" : "com.zijayrate.analogcam.vipforever10",
"auto_renew_status" : "1"
}
],
"warning" : "仅供学习,禁止转载或售卖",
"Telegram" : "https://t.me/ios151"
};
$done({ body: JSON.stringify(ios151) });