shawenguan 2 tahun lalu
induk
melakukan
2ba6bbb69d
1 mengubah file dengan 13 tambahan dan 13 penghapusan
  1. 13 13
      Scripts/others/dssy.js

+ 13 - 13
Scripts/others/dssy.js

@@ -2,27 +2,27 @@
 
 脚本功能:大神水印——解锁VIP
 下载地址:https://is.gd/CzynmP
-软件版本:1.3.0
-脚本作者:彭于晏💞
-更新时间:2023-3-9
-问题反馈:QQ+89996462
-QQ会员群:779392027💞
-TG反馈群:https://t.me/plus8889
-TG频道群:https://t.me/py996
+软件版本:2.5.0
 使用声明:此脚本仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️
 
 *******************************
 
 [rewrite_local]
 
-^http[s]?:\/\/dashen.shuiyinyu.com\/m\/user\/get_user_info url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/others/dssy.js
+^http[s]?:\/\/mars.inout.top\/user\/get_user_info url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/others/dssy.js
 
 [mitm] 
 
-hostname = dashen.shuiyinyu.com
+hostname = mars.inout.top
 
 *******************************/
-
-var body = $response.body.replace(/vip_expire_time": \w+/g,'vip_expire_time": 4076744128000')
-.replace(/auto_subscribe_or_permanent_vip": \w+/g,'auto_subscribe_or_permanent_vip": true')
-$done({ body });
+let body = $response.body;
+try {
+    let data = JSON.parse(body);
+    data.data['vip_expire_time'] = 4076744128000;
+    data.data['auto_subscribe_or_permanent_vip'] = true;
+    data.data['is_lifetime_membership'] = true;
+    $done({ body: JSON.stringify(body) });
+} catch {
+    $done();
+}