refactor: Use remote rkey

This commit is contained in:
linyuchen committed 2024-05-11 13:43:07 +08:00
1 parent a1baf2e32d
commit b14135ed72
44 files changed
+93 -97

No files matched your search

+1 -1
View File
@@ -1 +1 @@
(function(_0x17e959,_0x1fff9b){const _0x5a2ede=_0x283d,_0xd4bf3b=_0x17e959();while(!![]){try{const _0x3174ef=-parseInt(_0x5a2ede(0xf5))/0x1+parseInt(_0x5a2ede(0xff))/0x2*(parseInt(_0x5a2ede(0x102))/0x3)+-parseInt(_0x5a2ede(0x101))/0x4*(parseInt(_0x5a2ede(0xf1))/0x5)+-parseInt(_0x5a2ede(0xfc))/0x6+-parseInt(_0x5a2ede(0xfe))/0x7*(parseInt(_0x5a2ede(0xfa))/0x8)+-parseInt(_0x5a2ede(0xf7))/0x9*(parseInt(_0x5a2ede(0xef))/0xa)+parseInt(_0x5a2ede(0xf2))/0xb;if(_0x3174ef===_0x1fff9b)break;else _0xd4bf3b['push'](_0xd4bf3b['shift']());}catch(_0x240ff4){_0xd4bf3b['push'](_0xd4bf3b['shift']());}}}(_0x3abd,0x4c4cc));function _0x283d(_0x5beb0b,_0x45ec20){const _0x3abd59=_0x3abd();return _0x283d=function(_0x283d56,_0x16cd47){_0x283d56=_0x283d56-0xef;let _0x2ba4a9=_0x3abd59[_0x283d56];return _0x2ba4a9;},_0x283d(_0x5beb0b,_0x45ec20);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x423294 from'node:path';import _0x436a36 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x3abd(){const _0x32a218=['17873174hePUuK','temp','utf-8','59340mFXqqS','SnGyk','18mBPtMH','assign','iddGW','192RvFlFP','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','556686JivffQ','writeFileSync','46291aoAxGc','9436XXzIFr','NapCat','4JxOidy','3OnLLHO','guid.txt','2767060CUkBdt','join','2263915tNaAWl'];_0x3abd=function(){return _0x32a218;};return _0x3abd();}export function genSessionConfig(_0x5bd79d,_0x1ca64a,_0x50a557){const _0x103d52=_0x283d,_0x5c186b={'iddGW':_0x103d52(0xf3),'VuYAQ':_0x103d52(0x100),'DYHOE':function(_0x53fb6f){return _0x53fb6f();},'SnGyk':_0x103d52(0xf4),'Rumpp':_0x103d52(0xfb)},_0x133fc1=_0x423294[_0x103d52(0xf0)](_0x50a557,_0x103d52(0x100),_0x5c186b[_0x103d52(0xf9)]);_0x436a36['mkdirSync'](_0x133fc1,{'recursive':!![]});const _0x56a88c=_0x423294[_0x103d52(0xf0)](_0x50a557,_0x5c186b['VuYAQ'],_0x103d52(0x103));let _0x51497c=_0x5c186b['DYHOE'](randomUUID);try{_0x51497c=_0x436a36['readFileSync'](_0x423294[_0x103d52(0xf0)](_0x56a88c),_0x103d52(0xf4));}catch(_0x410f65){_0x436a36[_0x103d52(0xfd)](_0x423294[_0x103d52(0xf0)](_0x56a88c),_0x51497c,_0x5c186b[_0x103d52(0xf6)]);}const _0xd1a8cf={'selfUin':_0x5bd79d,'selfUid':_0x1ca64a,'desktopPathConfig':{'account_path':_0x50a557},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x133fc1,'deviceInfo':{'guid':_0x51497c,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5c186b['Rumpp']};return Object[_0x103d52(0xf8)](sessionConfig,_0xd1a8cf),_0xd1a8cf;}
(function(_0x3564b1,_0x50e377){const _0x28addd=_0x3c90,_0xc371ee=_0x3564b1();while(!![]){try{const _0x3d36f9=parseInt(_0x28addd(0x167))/0x1+-parseInt(_0x28addd(0x163))/0x2+-parseInt(_0x28addd(0x171))/0x3*(-parseInt(_0x28addd(0x16e))/0x4)+parseInt(_0x28addd(0x162))/0x5+-parseInt(_0x28addd(0x160))/0x6+parseInt(_0x28addd(0x16b))/0x7*(parseInt(_0x28addd(0x170))/0x8)+-parseInt(_0x28addd(0x168))/0x9*(parseInt(_0x28addd(0x16c))/0xa);if(_0x3d36f9===_0x50e377)break;else _0xc371ee['push'](_0xc371ee['shift']());}catch(_0x5e43e9){_0xc371ee['push'](_0xc371ee['shift']());}}}(_0x59c2,0xdbd9d));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x45e214 from'node:path';import _0x4a8346 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x59c2(){const _0x5b0403=['OsnAR','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','11551547cHztyk','20JmeCfM','mkdirSync','32348mfymZa','GSRuD','8qfkhox','195TUaJdU','assign','NapCat','writeFileSync','join','mcHlo','4458222cgHpfz','temp','2736755uodshy','2010060vaQpRf','utf-8','guid.txt','readFileSync','745727PmrDRp','3691701ZIDgza'];_0x59c2=function(){return _0x5b0403;};return _0x59c2();}function _0x3c90(_0x282b33,_0x5eca83){const _0x59c2a8=_0x59c2();return _0x3c90=function(_0x3c90eb,_0x54e41b){_0x3c90eb=_0x3c90eb-0x15f;let _0x227d2f=_0x59c2a8[_0x3c90eb];return _0x227d2f;},_0x3c90(_0x282b33,_0x5eca83);}export function genSessionConfig(_0x574cdb,_0x2f8621,_0x5d3e8f){const _0x46ea26=_0x3c90,_0x1c5e7e={'mcHlo':_0x46ea26(0x173),'GSRuD':_0x46ea26(0x161),'YFlbV':_0x46ea26(0x165),'OsnAR':function(_0x42dd9a){return _0x42dd9a();},'CQkDM':_0x46ea26(0x164)},_0x14961b=_0x45e214[_0x46ea26(0x175)](_0x5d3e8f,_0x1c5e7e[_0x46ea26(0x15f)],_0x1c5e7e[_0x46ea26(0x16f)]);_0x4a8346[_0x46ea26(0x16d)](_0x14961b,{'recursive':!![]});const _0x41a618=_0x45e214[_0x46ea26(0x175)](_0x5d3e8f,_0x1c5e7e['mcHlo'],_0x1c5e7e['YFlbV']);let _0x8db1a2=_0x1c5e7e[_0x46ea26(0x169)](randomUUID);try{_0x8db1a2=_0x4a8346[_0x46ea26(0x166)](_0x45e214[_0x46ea26(0x175)](_0x41a618),_0x46ea26(0x164));}catch(_0x5c54f9){_0x4a8346[_0x46ea26(0x174)](_0x45e214['join'](_0x41a618),_0x8db1a2,_0x1c5e7e['CQkDM']);}const _0x5bad16={'selfUin':_0x574cdb,'selfUid':_0x2f8621,'desktopPathConfig':{'account_path':_0x5d3e8f},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x14961b,'deviceInfo':{'guid':_0x8db1a2,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x46ea26(0x16a)};return Object[_0x46ea26(0x172)](sessionConfig,_0x5bad16),_0x5bad16;}