chore: sync core

This commit is contained in:
手瓜一十雪 committed 2024-05-14 11:38:39 +08:00
1 parent 5b4bf6c62a
commit 5649ff9c2e
44 files changed
+45 -44

No files matched your search

+1 -1
View File
@@ -1 +1 @@
function _0x501f(_0x285c5c,_0x53032b){const _0x5bbed3=_0x5bbe();return _0x501f=function(_0x501f85,_0x49b8ff){_0x501f85=_0x501f85-0x148;let _0x1fa6a7=_0x5bbed3[_0x501f85];return _0x1fa6a7;},_0x501f(_0x285c5c,_0x53032b);}(function(_0x45e743,_0x58d5e8){const _0x50b64b=_0x501f,_0xef130a=_0x45e743();while(!![]){try{const _0x2494ae=-parseInt(_0x50b64b(0x14e))/0x1+parseInt(_0x50b64b(0x15a))/0x2*(parseInt(_0x50b64b(0x15c))/0x3)+-parseInt(_0x50b64b(0x14c))/0x4+-parseInt(_0x50b64b(0x155))/0x5+-parseInt(_0x50b64b(0x156))/0x6+parseInt(_0x50b64b(0x14d))/0x7+parseInt(_0x50b64b(0x148))/0x8;if(_0x2494ae===_0x58d5e8)break;else _0xef130a['push'](_0xef130a['shift']());}catch(_0x2be459){_0xef130a['push'](_0xef130a['shift']());}}}(_0x5bbe,0xf40af));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x560797 from'node:path';import _0xf60040 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x5bbe(){const _0xefccb3=['temp','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','8163010KIkAfN','11541576qZHKPY','readFileSync','RAhcN','guid.txt','2sFecZA','assign','5221311cBmhMq','join','38602480oLJsZO','NapCat','qZjpF','gpvLM','2925180CXaoOa','3090934wAtGUZ','1720217mEtgJP','FTHIC','utf-8','mkdirSync','version'];_0x5bbe=function(){return _0xefccb3;};return _0x5bbe();}export function genSessionConfig(_0x5d5114,_0x427712,_0x333409){const _0x2fb763=_0x501f,_0x2e846b={'RAhcN':_0x2fb763(0x149),'FTHIC':_0x2fb763(0x153),'qZjpF':_0x2fb763(0x150),'gpvLM':_0x2fb763(0x154)},_0xbf95ae=_0x560797['join'](_0x333409,_0x2e846b[_0x2fb763(0x158)],_0x2e846b[_0x2fb763(0x14f)]);_0xf60040[_0x2fb763(0x151)](_0xbf95ae,{'recursive':!![]});const _0x5d82da=_0x560797[_0x2fb763(0x15d)](_0x333409,_0x2e846b[_0x2fb763(0x158)],_0x2fb763(0x159));let _0x23069c=randomUUID();try{_0x23069c=_0xf60040[_0x2fb763(0x157)](_0x560797['join'](_0x5d82da),_0x2e846b[_0x2fb763(0x14a)]);}catch(_0x2496e4){_0xf60040['writeFileSync'](_0x560797['join'](_0x5d82da),_0x23069c,_0x2e846b['qZjpF']);}const _0x11d607={'selfUin':_0x5d5114,'selfUid':_0x427712,'desktopPathConfig':{'account_path':_0x333409},'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':_0xbf95ae,'deviceInfo':{'guid':_0x23069c,'buildVer':qqPkgInfo[_0x2fb763(0x152)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x2e846b[_0x2fb763(0x14b)]};return Object[_0x2fb763(0x15b)](sessionConfig,_0x11d607),_0x11d607;}
(function(_0x28b105,_0x51f1ec){const _0x2547ef=_0x21e4,_0x3acbed=_0x28b105();while(!![]){try{const _0x3dc9ea=parseInt(_0x2547ef(0xe0))/0x1+parseInt(_0x2547ef(0xe1))/0x2*(parseInt(_0x2547ef(0xe6))/0x3)+-parseInt(_0x2547ef(0xf4))/0x4+-parseInt(_0x2547ef(0xea))/0x5+parseInt(_0x2547ef(0xe4))/0x6+-parseInt(_0x2547ef(0xeb))/0x7+parseInt(_0x2547ef(0xe7))/0x8*(-parseInt(_0x2547ef(0xf1))/0x9);if(_0x3dc9ea===_0x51f1ec)break;else _0x3acbed['push'](_0x3acbed['shift']());}catch(_0x3983e0){_0x3acbed['push'](_0x3acbed['shift']());}}}(_0x3127,0xa6e4b));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x6af833 from'node:path';import _0x4dcc1e from'node:fs';import{randomUUID}from'crypto';function _0x21e4(_0x16f6e2,_0x3f94da){const _0x312758=_0x3127();return _0x21e4=function(_0x21e43b,_0x405064){_0x21e43b=_0x21e43b-0xe0;let _0x5888f9=_0x312758[_0x21e43b];return _0x5888f9;},_0x21e4(_0x16f6e2,_0x3f94da);}function _0x3127(){const _0xda06d=['mkdirSync','version','2083316GCYGHT','utf-8','525462gEmbMt','173066AbhKYR','HKsIH','readFileSync','7982946hvoFAt','writeFileSync','30NENJNF','2356336WqoUCG','join','temp','2494935vMpUMV','5063310vWJDNh','RWaZz','rtOpe','NapCat','curVersion','guid.txt','9nwGoDF'];_0x3127=function(){return _0xda06d;};return _0x3127();}export const sessionConfig={};export function genSessionConfig(_0x49b059,_0x45949f,_0x14e006){const _0xa6ddb9=_0x21e4,_0xeab20={'rtOpe':_0xa6ddb9(0xee),'HKsIH':_0xa6ddb9(0xe9),'NUMdc':_0xa6ddb9(0xf5),'RWaZz':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x3cbb76=_0x6af833['join'](_0x14e006,_0xeab20['rtOpe'],_0xeab20[_0xa6ddb9(0xe2)]);_0x4dcc1e[_0xa6ddb9(0xf2)](_0x3cbb76,{'recursive':!![]});const _0x5ca56d=_0x6af833[_0xa6ddb9(0xe8)](_0x14e006,_0xeab20[_0xa6ddb9(0xed)],_0xa6ddb9(0xf0));let _0x41801d=randomUUID();try{_0x41801d=_0x4dcc1e[_0xa6ddb9(0xe3)](_0x6af833['join'](_0x5ca56d),'utf-8');}catch(_0x3255b0){_0x4dcc1e[_0xa6ddb9(0xe5)](_0x6af833['join'](_0x5ca56d),_0x41801d,_0xeab20['NUMdc']);}const _0x5a6449={'selfUin':_0x49b059,'selfUid':_0x45949f,'desktopPathConfig':{'account_path':_0x14e006},'clientVer':qqVersionConfigInfo[_0xa6ddb9(0xef)],'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':_0x3cbb76,'deviceInfo':{'guid':_0x41801d,'buildVer':qqPkgInfo[_0xa6ddb9(0xf3)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xeab20[_0xa6ddb9(0xec)]};return Object['assign'](sessionConfig,_0x5a6449),_0x5a6449;}