-
Notifications
You must be signed in to change notification settings - Fork 0
/
alicloud.js
50 lines (25 loc) · 13.5 KB
/
alicloud.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
/***********************************
> ScriptName 阿里云盘净化+解锁本地会员功能[倍速、码率]
> Author @ddgksf2013
> WechatID 公众号墨鱼手记
> TgChannel https://t.me/ddgksf2021
> Contribute https://t.me/ddgksf2013_bot
> Feedback 📮 [email protected] 📮
> UpdateTime 2023-08-05
> Attention 如需引用请注明出处,谢谢合作!
> ScriptURL https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js
[rewrite_local]
^https?:\/\/api\.(aliyundrive|alipan)\.com\/business\/v1\.1\/users\/me\/vip\/info url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/member\.(aliyundrive|alipan)\.com\/v1\/users\/tools url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/member\.(aliyundrive|alipan)\.com\/v1\/users\/me url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/api\.(aliyundrive|alipan)\.com\/business\/v1\.0\/users\/vip\/info url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/api\.(aliyundrive|alipan)\.com\/business\/v1\.0\/users\/feature\/list url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/api\.(aliyundrive|alipan)\.com\/apps\/v2\/users\/home\/widgets url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/member\.(aliyundrive|alipan)\.com\/v1\/users\/onboard_list url reject
^https?:\/\/user\.(aliyundrive|alipan)\.com\/v2\/user\/get url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
^https?:\/\/api\.(aliyundrive|alipan)\.com\/adrive\/v2\/backup\/device url reject
^https?:\/\/member\.(aliyundrive|alipan)\.com\/v2\/activity\/sign_in_info url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/alicloud.js
[mitm]
hostname = api.alipan.com, member.aliyundrive.com, member.alipan.com, api.aliyundrive.com
***********************************/
var version_='jsjiami.com.v7';function _0x3d28(_0xa540b9,_0x275e2c){const _0x442bd8=_0x442b();return _0x3d28=function(_0x3d2819,_0x5b0509){_0x3d2819=_0x3d2819-0x105;let _0x216c28=_0x442bd8[_0x3d2819];if(_0x3d28['cFaOLr']===undefined){var _0x4fcfde=function(_0x1c0b91){const _0x17965e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5107c9='',_0x1a964d='';for(let _0x2c2181=0x0,_0x540955,_0x4d346a,_0x4dbf8e=0x0;_0x4d346a=_0x1c0b91['charAt'](_0x4dbf8e++);~_0x4d346a&&(_0x540955=_0x2c2181%0x4?_0x540955*0x40+_0x4d346a:_0x4d346a,_0x2c2181++%0x4)?_0x5107c9+=String['fromCharCode'](0xff&_0x540955>>(-0x2*_0x2c2181&0x6)):0x0){_0x4d346a=_0x17965e['indexOf'](_0x4d346a);}for(let _0x4c0e82=0x0,_0x308c7b=_0x5107c9['length'];_0x4c0e82<_0x308c7b;_0x4c0e82++){_0x1a964d+='%'+('00'+_0x5107c9['charCodeAt'](_0x4c0e82)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a964d);};const _0x34da00=function(_0x3958b0,_0x1afc33){let _0xb0b5f8=[],_0x495b13=0x0,_0x1ad675,_0x13e6cf='';_0x3958b0=_0x4fcfde(_0x3958b0);let _0x4f7407;for(_0x4f7407=0x0;_0x4f7407<0x100;_0x4f7407++){_0xb0b5f8[_0x4f7407]=_0x4f7407;}for(_0x4f7407=0x0;_0x4f7407<0x100;_0x4f7407++){_0x495b13=(_0x495b13+_0xb0b5f8[_0x4f7407]+_0x1afc33['charCodeAt'](_0x4f7407%_0x1afc33['length']))%0x100,_0x1ad675=_0xb0b5f8[_0x4f7407],_0xb0b5f8[_0x4f7407]=_0xb0b5f8[_0x495b13],_0xb0b5f8[_0x495b13]=_0x1ad675;}_0x4f7407=0x0,_0x495b13=0x0;for(let _0x6ffe10=0x0;_0x6ffe10<_0x3958b0['length'];_0x6ffe10++){_0x4f7407=(_0x4f7407+0x1)%0x100,_0x495b13=(_0x495b13+_0xb0b5f8[_0x4f7407])%0x100,_0x1ad675=_0xb0b5f8[_0x4f7407],_0xb0b5f8[_0x4f7407]=_0xb0b5f8[_0x495b13],_0xb0b5f8[_0x495b13]=_0x1ad675,_0x13e6cf+=String['fromCharCode'](_0x3958b0['charCodeAt'](_0x6ffe10)^_0xb0b5f8[(_0xb0b5f8[_0x4f7407]+_0xb0b5f8[_0x495b13])%0x100]);}return _0x13e6cf;};_0x3d28['cmlzHB']=_0x34da00,_0xa540b9=arguments,_0x3d28['cFaOLr']=!![];}const _0x43e78b=_0x442bd8[0x0],_0x2af427=_0x3d2819+_0x43e78b,_0x539440=_0xa540b9[_0x2af427];return!_0x539440?(_0x3d28['qCrwpp']===undefined&&(_0x3d28['qCrwpp']=!![]),_0x216c28=_0x3d28['cmlzHB'](_0x216c28,_0x5b0509),_0xa540b9[_0x2af427]=_0x216c28):_0x216c28=_0x539440,_0x216c28;},_0x3d28(_0xa540b9,_0x275e2c);}const _0xfd1313=_0x3d28;(function(_0x2ac28c,_0x13acfc,_0x363095,_0x24d4d8,_0x178c88,_0x406e3f,_0x32266d){return _0x2ac28c=_0x2ac28c>>0x1,_0x406e3f='hs',_0x32266d='hs',function(_0x4ffe2a,_0x4b35d3,_0x5a60ea,_0x1c26cf,_0x3e78ee){const _0x443fb8=_0x3d28;_0x1c26cf='tfi',_0x406e3f=_0x1c26cf+_0x406e3f,_0x3e78ee='up',_0x32266d+=_0x3e78ee,_0x406e3f=_0x5a60ea(_0x406e3f),_0x32266d=_0x5a60ea(_0x32266d),_0x5a60ea=0x0;const _0xc2e082=_0x4ffe2a();while(!![]&&--_0x24d4d8+_0x4b35d3){try{_0x1c26cf=parseInt(_0x443fb8(0x115,'BRzd'))/0x1+-parseInt(_0x443fb8(0x134,'h^6!'))/0x2*(-parseInt(_0x443fb8(0x117,'ON^z'))/0x3)+-parseInt(_0x443fb8(0x147,'OZEs'))/0x4*(-parseInt(_0x443fb8(0x164,'h^6!'))/0x5)+-parseInt(_0x443fb8(0x155,'FE5G'))/0x6+parseInt(_0x443fb8(0x12d,'O0H1'))/0x7*(-parseInt(_0x443fb8(0x133,'tBNC'))/0x8)+-parseInt(_0x443fb8(0x12f,'nk3v'))/0x9+parseInt(_0x443fb8(0x111,'FE5G'))/0xa;}catch(_0xf6ca5d){_0x1c26cf=_0x5a60ea;}finally{_0x3e78ee=_0xc2e082[_0x406e3f]();if(_0x2ac28c<=_0x24d4d8)_0x5a60ea?_0x178c88?_0x1c26cf=_0x3e78ee:_0x178c88=_0x3e78ee:_0x5a60ea=_0x3e78ee;else{if(_0x5a60ea==_0x178c88['replace'](/[HGKMqQwdxtAhYEuXILTe=]/g,'')){if(_0x1c26cf===_0x4b35d3){_0xc2e082['un'+_0x406e3f](_0x3e78ee);break;}_0xc2e082[_0x32266d](_0x3e78ee);}}}}}(_0x363095,_0x13acfc,function(_0x2f3337,_0x2bbec3,_0x5a0320,_0x1179bd,_0x3da3a2,_0xc059ef,_0x4eb5b9){return _0x2bbec3='\x73\x70\x6c\x69\x74',_0x2f3337=arguments[0x0],_0x2f3337=_0x2f3337[_0x2bbec3](''),_0x5a0320='\x72\x65\x76\x65\x72\x73\x65',_0x2f3337=_0x2f3337[_0x5a0320]('\x76'),_0x1179bd='\x6a\x6f\x69\x6e',(0x137f98,_0x2f3337[_0x1179bd](''));});}(0x17c,0x83809,_0x442b,0xc0),_0x442b)&&(version_=_0x442b);let body=$response[_0xfd1313(0x114,'BRzd')];if(body){switch(!![]){case/users\/feature\/list/[_0xfd1313(0x15e,'&%^z')]($request['url']):try{body=body['replace'](/intercept":true/g,'intercept\x22:false')[_0xfd1313(0x13b,'5CMM')](/name":"[^"]+"/g,'name\x22:\x22vip\x22');}catch(_0x226494){console[_0xfd1313(0x15b,'Z2qE')](_0xfd1313(0x154,'tg[1')+_0x226494);}break;case/v2\/databox\/get_personal_info/[_0xfd1313(0x148,'06qJ')]($request[_0xfd1313(0x165,'Oq#X')]):try{let ddgksf2013=JSON['parse'](body);ddgksf2013[_0xfd1313(0x145,'g[8F')]['spu_id']=_0xfd1313(0x106,'wEAH'),ddgksf2013['personal_rights_info'][_0xfd1313(0x14b,'LrmV')]=_0xfd1313(0x158,'zn12'),body=JSON[_0xfd1313(0x159,'vwuN')](ddgksf2013);}catch(_0x26f420){console['log'](_0xfd1313(0x108,'Z2qE')+_0x26f420);}break;case/activity\/sign_in_info/['test']($request[_0xfd1313(0x107,'ON^z')]):try{let ddgksf2013=JSON[_0xfd1313(0x105,'1poW')](body);ddgksf2013[_0xfd1313(0x11a,'1poW')]&&(ddgksf2013['result'][_0xfd1313(0x15d,'qk4E')]=ddgksf2013[_0xfd1313(0x156,'dU2j')]['rewards'][_0xfd1313(0x126,'&xvZ')](_0x4eaff3=>'dailySignIn'==_0x4eaff3[_0xfd1313(0x136,'O0H1')])),body=JSON[_0xfd1313(0x11d,'O0H1')](ddgksf2013);}catch(_0x440e82){console[_0xfd1313(0x157,'zn12')](_0xfd1313(0x122,'g[8F')+_0x440e82);}break;case/users\/vip\/info/[_0xfd1313(0x14c,'Z2qE')]($request[_0xfd1313(0x135,'Jex#')]):try{let ddgksf2013=JSON[_0xfd1313(0x13e,'Jex#')](body);ddgksf2013[_0xfd1313(0x137,'QNQ^')]='svip',ddgksf2013[_0xfd1313(0x144,'&%^z')]=[{'name':_0xfd1313(0x10e,'ZR#A'),'code':'svip.8t','promotedAt':0x63dda34d,'expire':0xf485e67f}],ddgksf2013[_0xfd1313(0x139,'0ahP')]='8t',ddgksf2013['icon']=_0xfd1313(0x127,'&%^z'),ddgksf2013['mediumIcon']=_0xfd1313(0x120,'Tdvv'),body=JSON[_0xfd1313(0x11d,'O0H1')](ddgksf2013);}catch(_0x1e479c){console[_0xfd1313(0x125,'wEAH')]('info'+_0x1e479c);}break;case/widgets/[_0xfd1313(0x10f,'Tdvv')]($request['url']):try{let ddgksf2013=JSON[_0xfd1313(0x110,'FU5b')](body);if(ddgksf2013['result']){}if(ddgksf2013[_0xfd1313(0x109,'U2tH')]){}ddgksf2013[_0xfd1313(0x153,'&%^z')]&&delete ddgksf2013['mainBackup'],ddgksf2013[_0xfd1313(0x15a,'OZEs')]&&delete ddgksf2013['minorBackup'],ddgksf2013[_0xfd1313(0x130,'FSm2')]&&delete ddgksf2013[_0xfd1313(0x146,'O0H1')],ddgksf2013[_0xfd1313(0x131,'O0H1')]&&delete ddgksf2013[_0xfd1313(0x13d,'nk3v')],body=JSON[_0xfd1313(0x10a,'gG8[')](ddgksf2013);}catch(_0x4ea0b8){console[_0xfd1313(0x12c,'&xvZ')](_0xfd1313(0x108,'Z2qE')+_0x4ea0b8);}break;case/users\/apps\/welcome/[_0xfd1313(0x151,'g[8F')]($request['url']):try{let ddgksf2013={'title':_0xfd1313(0x14f,'g[8F'),'emojis':[],'description':_0xfd1313(0x12a,'Tdvv')};body=JSON[_0xfd1313(0x11d,'O0H1')](ddgksf2013);}catch(_0x5a5df8){console[_0xfd1313(0x116,'#UD5')](_0xfd1313(0x12e,'ON^z')+_0x5a5df8);}break;case/users\/me\/vip\/info/['test']($request[_0xfd1313(0x13a,'wEAH')]):try{let ddgksf2013={'description':'','titleNotice':null,'activityAction':_0xfd1313(0x10b,'g[8F'),'rightButtonText':'SVIP','activityText':_0xfd1313(0x129,'ZR#A'),'identity':_0xfd1313(0x161,'U2tH'),'backgroundImage':'https://gw.alicdn.com/imgextra/i4/O1CN016gCjSb1TrHHKgzILI_!!6000000002435-2-tps-654-212.png','titleImage':_0xfd1313(0x149,'nk3v'),'backgroudImage':null};body=JSON[_0xfd1313(0x112,'zn12')](ddgksf2013);}catch(_0x34cf82){console['log'](_0xfd1313(0x11b,'BRzd')+_0x34cf82);}break;case/users\/me$/[_0xfd1313(0x143,'cMby')]($request['url']):try{let ddgksf2013=JSON[_0xfd1313(0x138,'tg[1')](body);ddgksf2013[_0xfd1313(0x142,'QNQ^')]=_0xfd1313(0x152,'FE5G'),ddgksf2013[_0xfd1313(0x140,'U2tH')]='有效期至:2099-12-31',ddgksf2013[_0xfd1313(0x163,'4PdS')][0x0][_0xfd1313(0x11e,'%cUi')]=_0xfd1313(0x123,'idN6'),ddgksf2013[_0xfd1313(0x15c,'qk4E')]=_0xfd1313(0x132,'HH&B'),body=JSON['stringify'](ddgksf2013);}catch(_0x5d824e){console[_0xfd1313(0x14e,'tg[1')]('widgets'+_0x5d824e);}break;case/user\/get/['test']($request['url']):try{let ddgksf2013=JSON[_0xfd1313(0x128,'ON^z')](body);ddgksf2013[_0xfd1313(0x14a,'f*pv')]=_0xfd1313(0x13f,'Jex#'),ddgksf2013[_0xfd1313(0x150,'zn12')]=0xf485e67f,body=JSON['stringify'](ddgksf2013);}catch(_0x3b60ac){console[_0xfd1313(0x14d,'m(fN')]('widgets'+_0x3b60ac);}break;case/users\/tools/[_0xfd1313(0x162,'p@$L')]($request[_0xfd1313(0x119,'qk4E')]):try{let ddgksf2013=JSON[_0xfd1313(0x124,'ZR#A')](body);ddgksf2013[_0xfd1313(0x118,'p@$L')][_0xfd1313(0x160,'idN6')]=ddgksf2013[_0xfd1313(0x167,'ON^z')][_0xfd1313(0x11f,'ZR#A')]['filter'](_0x3c4c4a=>!(_0xfd1313(0x13c,'idN6')==_0x3c4c4a['id'])),ddgksf2013[_0xfd1313(0x10d,'szZO')][_0xfd1313(0x113,'GkSq')]=null,body=JSON['stringify'](ddgksf2013);}catch(_0xaac045){console[_0xfd1313(0x15f,'&%^z')]('widgets'+_0xaac045);}break;default:$done({});break;}$done({'body':body});}else $done({});function _0x442b(){const _0x2d905d=(function(){return[version_,'YhxjHsjXQiGaTTmAiwL.cEetoXqGmdM.hvuIu7KH==','qmokW7VcKW','kCoZvSkmva','W5ypASk4hsroy3ddMmobwIy','W7pdRSkXF8oXWR45WQ/dIW','W6hcVvFdL8kGuwyCW68','WRn7rsS','W6CHe2pdLmonWRdcOSkumJTX','kxFcKa','W7u0WPPXkGSfWOdcI8oQA3y','W4CKWQ9TiCkG','W6BcHGC','ACkeWQNdO8kdgG','WQz9rtxcGSklWPa','m1hdQNJcQ8kVjmkl','W7ZdHNf9W4GGdXrZ','WQ0quCoXWO15qCk2dYZcKa','vqddRhtdQtLPW6/dR8o4WRu','xmoBW7ZcL8ktAqZdKmohcmk6W6jxxSkGWOmvr8oEjSo7WPpdQSo8WRFdG8knEh4DW68DpmkbWQHgW4e9W6BdT8kblSk6W4mQW5vdW4aSm8o0DCk+WOjIb8ooWP3dT8oJWQVcM8oobCkQkMldSCkIWQpdLGT3W4RcMmkGW6/cL8kPWP/cUsZdSCo6kSoNF3a1za','WPFdRSoFW6FcGSofWQLUqHaGW5VdMW','BvBcOrNcMHlcSG','yxS1W6CjWRvMeSkTWRRcMSkhW4ZcRmkRW6FdG8oZW5e9WQFdLf/cL8ogWR41W4/dHCodF8oiW53dMXuiW47cJwWDW55oWOBcImkPBSkyW5/dMCoDnColWQJdKSodWP8YWOVdP8oYaKtcHbHEW6lcVqSSW65wgbNdVCkhWORcIh5QW4RcM09UWQWijSktW6vJ','rG7dS2RdOW','WP7dHSoT','iSkGW4n2jLq','WPJdLK7cQapdTfpdImoKxMZdUdeAav9zi0NcKxShzCkQW7KgW6DBfeJcR8kEWPnQW7XhWR9OrmkoW6pcQseyWQhdGSkyxuyjwSktWOW2W6HGW5Lnod/dUCogWQddH0mNsZxcISkNumoaW4FcLWNdH8osCSoEW77dVcb7ofddGfGdFW','WRbHW502EW','5BEe6kAm6zAa5lYd5zoE5ygA6ycI5P+d55Mk','5AkC6Bot56Ev5Ogp5BYJ5PMD55YF5lMr776H','nCkcEmo4uxBdP8kwCa1/Ea','kmkMW4G','WRJdKvTAW6KcnG','WRDPW4SIE00Y'].concat((function(){return['WRWcBNxcQglcOZf0mhacWO4','bSk2jfJdMmk4oq','W7ZdM2r6W68P','WPv6WORcJCoYuseBW6abjaKjWRNdTCowWOdcGSoiWOyIEvnReCkzk8o9W6RdJfRdTSklWQLlpINdJx5LW6ddG8odl8oRBmo2v8k1mGxdPSoboSkcWOuoW7vDh8kiW4SlWOFdJKZcKalcG8kpW7WeACkeW7vRycxdGhpcLmoPjSo9lKZdJSkTnCklW5WN','nLpcNIpdJCoAwCkpWOjjW4hcLSkG','qw1sW4SUcCo7','oSocW58','W7VdI3nX','WPJcIWK+c2pcQMe','AgRcPCopdq','W4pcUmkqWRVdNG','WOFdM8oM','W4ldGrRdGt3cLxK','EM4NW7i4W6aX','W7TAmc7dKdG','p8orW4ealG','pmogW5Od','hSknuapcISkcW70N','WRmvW6WNW6hdOtK','WPZcIGeYgNJcRxdcGamlWQm5psHBWRZcVG','D8osoCk9','WOBdI0RcLbNcVqG','ALRcTW3cKaJcOeFcGLiHn1ngWPBcGSkGC8o+oq','W63dK216W4m1fq','xmkev3BcRMTKe8ozn8o6WQ8','WOxdUCoNW7C','W6bhiZddQMZcV312ptu5WRhcTCoAWP1XW5qTW5hcPelcTJFdUCoUWPddQcNcRmo4gKOnW4LKW4SlrSkZiWSnWOrNWOLrlatdJSo0ACkaBuBdTCoQyHdcT8oDW5nKW7/dRCkvWOjqESkjWQRdOmobWRzEWO7cNeSYqM7cVLxcKrddHmoKWQSabq','qs7cSmkMW4RdGWFcP8omWQNcRCk9','WOxcHqbd','WOzYW67dVq','CXhcVa','DgtcSa','56wh5l2F5BYg5PMW55+d5lUi77+a','W6xdOSkZF8oTWRWpWQJdHG'].concat((function(){return['BLRcTGO','WP1koSoX','WP3dG1pcTJlcRX/cJmo2wq','FM7cTSoihCkGbW','W58my8k1hY1gEKhdV8oyrda','WQxdQCk0WRnvAW','W6ZdTCkK','W5pdJmkkrG','AmojmmkRcZldKCkSW4y','amoudIhdQbfRpCohkSo5','WP54W7O','W77cKqBcUcRdPJ1Up8kBW48YW6y1','W6hcKrZcUZ3dSd0','WOtdH0NcRa','WPZdJv0','AMaSW7OvW6eDuSkLWQhdHW','hSkowYC','W4eKWQ9S','W7jLWRXDW59E','qcH1W5eBlSotta','i2Gi','od9XWQniWRzXvCkpWPNdPCkpW6i','WRjLW5WWCK0','A8kaWQJdPCkk','WOtdGmo6','WRvYW4m','WOv+W7NdRJFdNSoA','dmkBrJ7cLCkFW6uRrSku','W7CcW4yaW4ddGWaLW6m','CKVcSq7cJfZdRGtcQq4LnrrwWOhcUSkIBSo+zmoMdcC','wmomb2pdL8oeW5u3w8kFWPOV','sGhdRCoBB8kq','dJVdG+I2NoE4OEs9JEwrPq'];}()));}()));}());_0x442b=function(){return _0x2d905d;};return _0x442b();};var version_ = 'jsjiami.com.v7';