Skip to content

Commit

Permalink
add crack
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoShan committed Apr 8, 2024
1 parent 7dcc64e commit 8c05a7e
Show file tree
Hide file tree
Showing 4 changed files with 374 additions and 0 deletions.
294 changes: 294 additions & 0 deletions Script/mtxx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,294 @@
/*************************************
项目名称:美图秀秀 解锁SVIP
下载地址:https://t.cn/AiN3YLHl
脚本作者:chxm1023
电报频道:https://t.me/chxm1023
使用声明:⚠️仅供参考,🈲转载与售卖!
**************************************
[rewrite_local]
^https?:\/\/((h5|api)\.xiuxiu|api-sub|api\.posters)\.meitu\.com\/.+\/(vip|user|h\d|center|home) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/mtxx.js
[mitm]
hostname = *.xiuxiu.meitu.com, api.posters.meitu.com, api-sub.meitu.com
*************************************/


var chxm1023 = JSON.parse($response.body);
const hysj = '/vip/prompt/query.json';
const hyxx = '/vip/vip_show.json';
const user = '/user/show.json';
const hyzl = '/vip/new_sub_detail.json';
const hymb = '/vip/vip_navigation.json';
const group = '/user/vip_info_by_group.json';
const vip = '/center/user_info.json';
const sjs = '/user/info_by_entrance.json';
const sjshf = '/home/home.json';
const kta = 'https://api.posters.meitu.com/center/user_rights.json';
const ktb = 'https://api.posters.meitu.com/center/user_rights_consume.json';


if ($request.url.indexOf(hysj) != -1){
chxm1023.data = {
"home_btn_prompt" : "立即查看",
"if_transfer" : 0,
"pay_interval" : 3000,
"beautify_prompt" : "",
"home_prompt" : "会员有效期至2099/09/09",
"svip_bubble_text" : "粉钻SVIP:有效期至2099/09/09\n粉钻VIP:有效期至2099/09/99",
"beautify_btn_prompt" : "",
"request_time" : 1666666666666
};
}

if ($request.url.indexOf(hyxx) != -1){
chxm1023.data = {
"id": "666666666666666666",
"id_str": "666666666666666666",
"valid_time": 4092599349,
"uid" : 1666666666,
"sub_type": 3,
"expire_days": -66666,
"screen_name": "",
"avatar_url": "",
"in_valid_time": 4092599349,
"gid": 1234567890,
"s": 1,
"vip_type": 101,
"platform": 2,
"sub_name": "包年",
"renew": 2,
"is_valid_user": 1,
"create_time": 1666666666,
"sub_biz_type": 1,
"is_expire": 0,
"in_valid_time" : 4092599349
};
}

if ($request.url.indexOf(user) != -1){
chxm1023.data.vip_type = 101;
chxm1023.data.vip_icon = "https://xximg1.meitudata.com/6948531747980333892.png";
chxm1023.data.follower_count = 999000;
chxm1023.data.fan_count = 999000;
chxm1023.data.be_like_count = 999000;
}

if ($request.url.indexOf(hyzl) != -1){
delete chxm1023.data.materials;
delete chxm1023.data.prices;
delete chxm1023.data.new_version_rotograms;
chxm1023.data.vip_sign_info = {
"sub_type" : 3,
"renew_status" : 1,
"show_auto_renew" : 1,
"next_withhold_amount" : 16800,
"withhold_currency_symbol" : "¥",
"next_withhold_date" : "2099-09-09",
"pay_channel" : "苹果支付",
"do_pop_up" : false
};
chxm1023.data.vip_power_num = 999999;
chxm1023.data.new_power_num = 999999;
chxm1023.data.welfare_center_num = 999999;
chxm1023.data.exchange_vip = 0;
chxm1023.data.platform = 2;
chxm1023.data.renew = 1;
chxm1023.data.is_new_vipsub = 0;
chxm1023.data.s = 1;
chxm1023.data.expire_days = -66666;
chxm1023.data.sub_type = 3;
chxm1023.data.old_vip_type = 4;
chxm1023.data.valid_time = 4092599349;
chxm1023.data.invalid_time = 4092599349;
chxm1023.data.is_expire = 0;
chxm1023.data.rights_page_vip_btn_title = "立即解锁";
chxm1023.data.rights_page_svip_btn_title = "立即解锁";
chxm1023.data.hbp_vip = {
"sub_type" : 3,
"valid_time" : 4092599349,
"renew" : 1,
"expire_days" : -66666,
"is_expire" : 0,
"in_valid_time" : 4092599349,
"s" : 0
};
chxm1023.data.sub_biz_type = 1;
chxm1023.data.vip_type = 101;
chxm1023.data.xx_vip = {
"sub_type" : 3,
"valid_time" : 4092599349,
"renew" : 1,
"expire_days" : -66666,
"is_expire" : 0,
"in_valid_time" : 4092599349,
"s" : 0
};
}

if ($request.url.indexOf(hymb) != -1){
delete chxm1023.data.rights;
delete chxm1023.data.navigation_card_list;
delete chxm1023.data.config_list;
delete chxm1023.data.pendant;
chxm1023.data.vip_type = 101;
chxm1023.data.display_vip_time = 1;
chxm1023.data.display_vip_type = 2;
chxm1023.data.hbp_vip = {
"id" : "666666666666666666",
"id_str" : "666666666666666666",
"valid_time" : 4092599349,
"uid" : 1666666666,
"sub_type" : 3,
"sub_biz_type" : 1,
"avatar_url" : "",
"is_expire" : 0,
"expire_days" : -66666,
"gid" : 1234567890,
"vip_type" : 101,
"platform" : 2,
"sub_name" : "包年",
"renew" : 2,
"s" : 0,
"is_valid_user" : 1,
"create_time" : 1666666666,
"screen_name" : "",
"in_valid_time" : 4092599349
};
chxm1023.data.xx_vip = {
"id" : "666666666666666666",
"id_str" : "666666666666666666",
"valid_time" : 4092599349,
"uid" : 1666666666,
"sub_type" : 3,
"sub_biz_type" : 1,
"avatar_url" : "",
"is_expire" : 0,
"expire_days" : -66666,
"gid" : 1234567890,
"vip_type" : 101,
"platform" : 2,
"sub_name" : "包年",
"renew" : 2,
"s" : 0,
"is_valid_user" : 1,
"create_time" : 1666666666,
"screen_name" : "",
"in_valid_time" : 4092599349
};
}

if ($request.url.indexOf(group) != -1){
chxm1023.data = {
"active_sub_type" : 2,
"account_type" : 1,
"sub_type_name" : "续期",
"active_sub_order_id" : "666666666666666666",
"trial_period_invalid_time" : "4092599349000",
"current_order_invalid_time" : "4092599349000",
"active_order_id" : "666666666666666666",
"limit_type" : 0,
"active_sub_type_name" : "续期",
"use_vip" : true,
"have_valid_contract" : false,
"derive_type_name" : "普通会员",
"derive_type" : 1,
"in_trial_period" : true,
"is_vip" : true,
"membership" : {
"id" : "7",
"display_name" : "",
"level" : 2,
"level_name" : "高级会员"
},
"active_promotion_status_list" : [
2,
6
],
"sub_type" : 3,
"account_id" : "1666666666",
"invalid_time" : "4092599349000",
"valid_time" : "4092599349000",
"active_product_id" : "0",
"active_promotion_status" : 2,
"show_renew_flag" : false
};
}

if ($request.url.indexOf(vip) != -1){
chxm1023.data.vip_end_time = 4092599349;
chxm1023.data.is_vip = true;
}

if ($request.url.indexOf(sjs) != -1){
chxm1023.data = {
"vip_info" : {
"active_sub_type" : 2,
"account_type" : 1,
"sub_type_name" : "续期",
"active_sub_order_id" : "666666666666666666",
"trial_period_invalid_time" : "4092599349000",
"current_order_invalid_time" : "4092599349000",
"active_order_id" : "666666666666666666",
"limit_type" : 0,
"active_sub_type_name" : "续期",
"use_vip" : true,
"have_valid_contract" : false,
"derive_type_name" : "普通会员",
"derive_type" : 1,
"in_trial_period" : true,
"is_vip" : true,
"membership" : {
"id" : "7",
"display_name" : "",
"level" : 2,
"level_name" : "高级会员"
},
"active_promotion_status_list" : [
2,
6
],
"sub_type" : 3,
"account_id" : "1666666666",
"invalid_time" : "4092599349000",
"valid_time" : "4092599349000",
"active_product_id" : "0",
"active_promotion_status" : 2,
"show_renew_flag" : false
},
"account_type" : 1,
"account_id" : "1666666666",
"rights_info" : [
{
"show_tips" : "抠图剩余张数:9999999 张 >",
"commodity_unit" : "2",
"link_words" : "9999999 张 >",
"commodity_id" : "shejishi.cutout",
"commodity_count" : 9999999
}
]
};
}

if ($request.url.indexOf(sjshf) != -1){
delete chxm1023.data.banner;
}

if ($request.url.indexOf(kta) != -1){
chxm1023.data = {
"cutout" : {
"num_left" : 9999999
}
};
}

if ($request.url.indexOf(ktb) != -1){
chxm1023.data = {
"consume_result" : true
};
}

$done({body : JSON.stringify(chxm1023)});
13 changes: 13 additions & 0 deletions Script/mtxx.plugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!name = 美颜相机
#!desc = 解锁VIP
#!openurl = https://apps.apple.com/app/id592331499
#!author =
#!homepage =
#!icon = https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/54/d1/b0/54d1b069-915b-8c83-6cf0-520448fbe433/AppIcon-0-0-1x_U007epad-0-10-0-85-220.png/512x512bb.png
#!date =

[Script]
http-response ^https?:\/\/(api|community)\.meiyan\.com\/(vip|v\d)\/(user_center|user_info|user\/(.*?)) script-path=https://raw.githubusercontent.com/chxm1023/Rewrite/main/myxj.js, requires-body=true, tag=美颜相机

[MITM]
hostname = *.meiyan.com
54 changes: 54 additions & 0 deletions Script/myxj.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*************************************
项目名称:美颜相机 解锁VIP
下载地址:https://t.cn/A69cNPHr
使用声明:仅供学习与交流,请勿转载与贩卖!⚠️
**************************************
[rewrite_local]
^https:\/\/(api|community)\.meiyan\.com\/(vip|v\d)\/(user_center|user_info|user\/(.*?)) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/myxj.js
[mitm]
hostname = *.meiyan.com
*************************************/


var chxm1023 = JSON.parse($response.body);
const hysj = '/vip/user_info';
const user = '/user/show';
const hymb = '/vip/user_center';

if ($request.url.indexOf(hysj) != -1){
chxm1023.response.status = 1;
chxm1023.response.ad_vip_type = 3;
chxm1023.response.expire_time = "2099-09-09 09:09:09";
chxm1023.response.type = 2;
chxm1023.response.product_type = 1;
chxm1023.response.expire_date = "2099-09-09";
}

if ($request.url.indexOf(user) != -1){
chxm1023.data.vip_type = 1;
chxm1023.data.vip_icon = "https://xximg1.meitudata.com/6948531818264286440.png";
chxm1023.data.follower_count = 999000;
chxm1023.data.fan_count = 999000;
chxm1023.data.favorites_count = 999000;
chxm1023.data.be_like_count = 999000;
}

if ($request.url.indexOf(hymb) != -1){
chxm1023.response.user_info = {
"status" : 1,
"period_type" : 11,
"discount_status" : 0,
"agreement_status" : 1,
"product_type" : 1,
"expire_date" : "2099-09-09"
};
}

$done({body : JSON.stringify(chxm1023)});
13 changes: 13 additions & 0 deletions Script/myxj.plugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!name = 美颜相机
#!desc = 解锁VIP
#!openurl = https://apps.apple.com/app/id592331499
#!author =
#!homepage =
#!icon = https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/54/d1/b0/54d1b069-915b-8c83-6cf0-520448fbe433/AppIcon-0-0-1x_U007epad-0-10-0-85-220.png/512x512bb.png
#!date =

[Script]
http-response ^https?:\/\/(api|community)\.meiyan\.com\/(vip|v\d)\/(user_center|user_info|user\/(.*?)) script-path=https://raw.githubusercontent.com/chxm1023/Rewrite/main/myxj.js, requires-body=true, tag=美颜相机

[MITM]
hostname = *.meiyan.com

0 comments on commit 8c05a7e

Please sign in to comment.