fix: rkey cached

This commit is contained in:
linyuchen committed 2024-05-06 19:45:20 +08:00
1 parent ff7d7d15a0
commit 0bbe51f8fd
39 files changed
+39 -39

No files matched your search

+1 -1
View File
@@ -1 +1 @@
function _0x3b50(){const _0x1af744=['NapCat','6LBzMGO','1298068VrUxnW','version','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','783924IGwaMY','utf-8','temp','ROywJ','136086SEzMiG','2343650RagcRx','14247ErHlal','writeFileSync','join','lYbJA','1393217uKfTqE','readFileSync','assign','146404ZcXyLs','usYOj','10336GREhMB','curVersion'];_0x3b50=function(){return _0x1af744;};return _0x3b50();}(function(_0x37b446,_0xa59615){const _0x8d4d50=_0x35d2,_0x5d54cc=_0x37b446();while(!![]){try{const _0x97967=-parseInt(_0x8d4d50(0x90))/0x1+-parseInt(_0x8d4d50(0x99))/0x2+-parseInt(_0x8d4d50(0x8c))/0x3+-parseInt(_0x8d4d50(0x89))/0x4+-parseInt(_0x8d4d50(0x91))/0x5+-parseInt(_0x8d4d50(0x88))/0x6*(parseInt(_0x8d4d50(0x96))/0x7)+parseInt(_0x8d4d50(0x9b))/0x8*(parseInt(_0x8d4d50(0x92))/0x9);if(_0x97967===_0xa59615)break;else _0x5d54cc['push'](_0x5d54cc['shift']());}catch(_0x50d92a){_0x5d54cc['push'](_0x5d54cc['shift']());}}}(_0x3b50,0x8e2da));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x35d2(_0x5d14e0,_0xa14e86){const _0x3b5045=_0x3b50();return _0x35d2=function(_0x35d2da,_0x125aa0){_0x35d2da=_0x35d2da-0x87;let _0x2ea78d=_0x3b5045[_0x35d2da];return _0x2ea78d;},_0x35d2(_0x5d14e0,_0xa14e86);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2513a0 from'node:path';import _0x4fbdda from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x1e5077,_0x44e28a,_0x4055d7){const _0x15b157=_0x35d2,_0x3327cb={'usYOj':_0x15b157(0x87),'sAulo':'guid.txt','ROywJ':function(_0x12d77f){return _0x12d77f();},'lYbJA':_0x15b157(0x8d),'oCjAl':_0x15b157(0x8b)},_0x41b3f1=_0x2513a0[_0x15b157(0x94)](_0x4055d7,_0x3327cb[_0x15b157(0x9a)],_0x15b157(0x8e));_0x4fbdda['mkdirSync'](_0x41b3f1,{'recursive':!![]});const _0x37a819=_0x2513a0[_0x15b157(0x94)](_0x4055d7,_0x3327cb[_0x15b157(0x9a)],_0x3327cb['sAulo']);let _0x268e71=_0x3327cb[_0x15b157(0x8f)](randomUUID);try{_0x268e71=_0x4fbdda[_0x15b157(0x97)](_0x2513a0[_0x15b157(0x94)](_0x37a819),_0x3327cb[_0x15b157(0x95)]);}catch(_0xf5ca79){_0x4fbdda[_0x15b157(0x93)](_0x2513a0[_0x15b157(0x94)](_0x37a819),_0x268e71,_0x15b157(0x8d));}const _0x357349={'selfUin':_0x1e5077,'selfUid':_0x44e28a,'desktopPathConfig':{'account_path':_0x4055d7},'clientVer':qqVersionConfigInfo[_0x15b157(0x9c)],'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':_0x41b3f1,'deviceInfo':{'guid':_0x268e71,'buildVer':qqPkgInfo[_0x15b157(0x8a)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3327cb['oCjAl']};return Object[_0x15b157(0x98)](sessionConfig,_0x357349),_0x357349;}
(function(_0x440502,_0x5d928c){const _0x17f6de=_0x41e8,_0x545cf5=_0x440502();while(!![]){try{const _0x1532fb=parseInt(_0x17f6de(0x15f))/0x1+-parseInt(_0x17f6de(0x16e))/0x2+-parseInt(_0x17f6de(0x16a))/0x3+-parseInt(_0x17f6de(0x173))/0x4+-parseInt(_0x17f6de(0x171))/0x5*(parseInt(_0x17f6de(0x162))/0x6)+parseInt(_0x17f6de(0x169))/0x7*(parseInt(_0x17f6de(0x16d))/0x8)+parseInt(_0x17f6de(0x165))/0x9*(parseInt(_0x17f6de(0x172))/0xa);if(_0x1532fb===_0x5d928c)break;else _0x545cf5['push'](_0x545cf5['shift']());}catch(_0x520513){_0x545cf5['push'](_0x545cf5['shift']());}}}(_0x20af,0xc2cec));function _0x41e8(_0xab90c1,_0x5ef97d){const _0x20afb8=_0x20af();return _0x41e8=function(_0x41e85b,_0xf1deab){_0x41e85b=_0x41e85b-0x15f;let _0x8e412b=_0x20afb8[_0x41e85b];return _0x8e412b;},_0x41e8(_0xab90c1,_0x5ef97d);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x12da2a from'node:path';import _0x4f5550 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x20af(){const _0x433739=['LQAbv','zVNmi','fHSzG','WTokY','version','1327974IyWHAi','curVersion','assign','12msjmfh','mkdirSync','join','11079mEikOb','readFileSync','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','14orFsdK','4185591fOWOHP','utf-8','NapCat','3017936VHTMqH','2818096RDbYSs','writeFileSync','temp','2602745uJdVBV','21600uTsRgT','392572RsdNZg'];_0x20af=function(){return _0x433739;};return _0x20af();}export function genSessionConfig(_0x491872,_0x24d7c3,_0x32b9df){const _0x264c40=_0x41e8,_0x9b3cd4={'LJREu':_0x264c40(0x16c),'LQAbv':_0x264c40(0x170),'WTokY':_0x264c40(0x168),'fHSzG':function(_0x10788d){return _0x10788d();},'zVNmi':_0x264c40(0x167)},_0xb22d52=_0x12da2a[_0x264c40(0x164)](_0x32b9df,_0x9b3cd4['LJREu'],_0x9b3cd4[_0x264c40(0x174)]);_0x4f5550[_0x264c40(0x163)](_0xb22d52,{'recursive':!![]});const _0x4f15f7=_0x12da2a[_0x264c40(0x164)](_0x32b9df,_0x264c40(0x16c),_0x9b3cd4[_0x264c40(0x177)]);let _0x4cde58=_0x9b3cd4[_0x264c40(0x176)](randomUUID);try{_0x4cde58=_0x4f5550[_0x264c40(0x166)](_0x12da2a[_0x264c40(0x164)](_0x4f15f7),_0x264c40(0x16b));}catch(_0x3f49ba){_0x4f5550[_0x264c40(0x16f)](_0x12da2a[_0x264c40(0x164)](_0x4f15f7),_0x4cde58,_0x264c40(0x16b));}const _0x132231={'selfUin':_0x491872,'selfUid':_0x24d7c3,'desktopPathConfig':{'account_path':_0x32b9df},'clientVer':qqVersionConfigInfo[_0x264c40(0x160)],'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':_0xb22d52,'deviceInfo':{'guid':_0x4cde58,'buildVer':qqPkgInfo[_0x264c40(0x178)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x9b3cd4[_0x264c40(0x175)]};return Object[_0x264c40(0x161)](sessionConfig,_0x132231),_0x132231;}