update core.lib

This commit is contained in:
linyuchen committed 2024-05-12 17:59:25 +08:00
1 parent 07852a7295
commit 17c10a7ba2
43 files changed
+68 -45

No files matched your search

+1 -1
View File
@@ -1 +1 @@
(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;}
(function(_0x5405b7,_0x32efe8){const _0x35f2a0=_0x1651,_0x29c5a2=_0x5405b7();while(!![]){try{const _0x47b3a6=parseInt(_0x35f2a0(0x120))/0x1+-parseInt(_0x35f2a0(0x122))/0x2*(-parseInt(_0x35f2a0(0x11c))/0x3)+-parseInt(_0x35f2a0(0x127))/0x4*(-parseInt(_0x35f2a0(0x132))/0x5)+parseInt(_0x35f2a0(0x11a))/0x6*(parseInt(_0x35f2a0(0x125))/0x7)+parseInt(_0x35f2a0(0x129))/0x8*(parseInt(_0x35f2a0(0x12c))/0x9)+-parseInt(_0x35f2a0(0x124))/0xa+-parseInt(_0x35f2a0(0x12a))/0xb*(parseInt(_0x35f2a0(0x123))/0xc);if(_0x47b3a6===_0x32efe8)break;else _0x29c5a2['push'](_0x29c5a2['shift']());}catch(_0x73eb74){_0x29c5a2['push'](_0x29c5a2['shift']());}}}(_0x5ccb,0x1e377));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x5ccb(){const _0x41b274=['{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','27JcagFO','version','assign','readFileSync','rKDKi','guid.txt','5eeOHbK','writeFileSync','6iipFdx','mkdirSync','732OhFiKV','NapCat','RLKFC','gZKKX','77327gGzLvk','temp','284CfwfUo','24uhyhbR','135870NprGqU','1378832qfPKzi','join','540808ndkeqC','utf-8','194328hFbULL','2088196GHUklZ'];_0x5ccb=function(){return _0x41b274;};return _0x5ccb();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x32907c from'node:path';import _0x4a3e0a from'node:fs';function _0x1651(_0xc23a8,_0xf294ef){const _0x5ccb7b=_0x5ccb();return _0x1651=function(_0x16517f,_0x105770){_0x16517f=_0x16517f-0x11a;let _0x3126b9=_0x5ccb7b[_0x16517f];return _0x3126b9;},_0x1651(_0xc23a8,_0xf294ef);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x46ebca,_0x13b602,_0x4967c6){const _0xc8aa45=_0x1651,_0x4c0a40={'rKDKi':_0xc8aa45(0x11d),'OuHPK':_0xc8aa45(0x121),'gZKKX':_0xc8aa45(0x131),'RLKFC':function(_0x327582){return _0x327582();},'FIRPV':_0xc8aa45(0x128),'fWIFx':_0xc8aa45(0x12b)},_0x32c41d=_0x32907c[_0xc8aa45(0x126)](_0x4967c6,_0x4c0a40[_0xc8aa45(0x130)],_0x4c0a40['OuHPK']);_0x4a3e0a[_0xc8aa45(0x11b)](_0x32c41d,{'recursive':!![]});const _0x5c0505=_0x32907c['join'](_0x4967c6,_0xc8aa45(0x11d),_0x4c0a40[_0xc8aa45(0x11f)]);let _0x4d00f7=_0x4c0a40[_0xc8aa45(0x11e)](randomUUID);try{_0x4d00f7=_0x4a3e0a[_0xc8aa45(0x12f)](_0x32907c[_0xc8aa45(0x126)](_0x5c0505),_0x4c0a40['FIRPV']);}catch(_0x18ad78){_0x4a3e0a[_0xc8aa45(0x133)](_0x32907c[_0xc8aa45(0x126)](_0x5c0505),_0x4d00f7,_0xc8aa45(0x128));}const _0x49c085={'selfUin':_0x46ebca,'selfUid':_0x13b602,'desktopPathConfig':{'account_path':_0x4967c6},'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':_0x32c41d,'deviceInfo':{'guid':_0x4d00f7,'buildVer':qqPkgInfo[_0xc8aa45(0x12d)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x4c0a40['fWIFx']};return Object[_0xc8aa45(0x12e)](sessionConfig,_0x49c085),_0x49c085;}