Sharp.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /******************************
  2. 脚本功能:Sharp Al-智能照片修复——解锁订阅
  3. 下载地址:https://is.gd/U1ACXT
  4. 软件版本:2.14.4
  5. 脚本作者:彭于晏💞
  6. 更新时间:2023-10-20
  7. 问题反馈:QQ+89996462
  8. QQ会员群:779392027💞
  9. TG反馈群:https://t.me/plus8889
  10. TG频道群:https://t.me/py996
  11. 使用声明:⚠️此脚本仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️
  12. *******************************
  13. [rewrite_local]
  14. ^https?:\/\/api\.revenuecat\.com\/v1\/(subscribers\/[^\/]+$|receipts$) url script-response-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/others/Sharp.js
  15. [MITM]
  16. hostname = api.revenuecat.com
  17. ********************************/
  18. var py996 = JSON.parse($response.body);
  19. py996.subscriber.entitlements = {
  20. "pro": {
  21. "expires_date": "9999-09-09T09:09:09Z",
  22. "product_identifier": "ape.weekly.discount",
  23. "purchase_date": "2023-02-23T02:33:33Z"
  24. }
  25. };
  26. py996.subscriber.original_purchase_date = "2023-02-23T03:33:33Z";
  27. py996.subscriber.subscriptions = {
  28. "ape.weekly.discount": {
  29. "expires_date": "9999-09-09T09:09:09Z",
  30. "original_purchase_date": "2023-02-23T02:33:33Z",
  31. "purchase_date": "2023-02-23T02:33:33Z",
  32. "ownership_type" : "PURCHASED",
  33. "store" : "app_store"
  34. }
  35. };
  36. $done({ body: JSON.stringify(py996) });