chore(build): Update core.lib

This commit is contained in:
linyuchen committed 2024-05-07 16:26:52 +08:00
1 parent c5d313574f
commit 63084506ee
39 files changed
+39 -39

No files matched your search

+1 -1
View File
@@ -1 +1 @@
(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;}
(function(_0x55fa57,_0x3fa8fd){const _0x7d0509=_0x252c,_0x3495e5=_0x55fa57();while(!![]){try{const _0x11dd83=parseInt(_0x7d0509(0xa5))/0x1*(parseInt(_0x7d0509(0xa6))/0x2)+parseInt(_0x7d0509(0xb2))/0x3+parseInt(_0x7d0509(0xb1))/0x4*(parseInt(_0x7d0509(0xb4))/0x5)+parseInt(_0x7d0509(0xb9))/0x6+parseInt(_0x7d0509(0xa8))/0x7*(-parseInt(_0x7d0509(0xb3))/0x8)+parseInt(_0x7d0509(0xaa))/0x9*(-parseInt(_0x7d0509(0xb7))/0xa)+-parseInt(_0x7d0509(0xad))/0xb*(-parseInt(_0x7d0509(0xba))/0xc);if(_0x11dd83===_0x3fa8fd)break;else _0x3495e5['push'](_0x3495e5['shift']());}catch(_0x123921){_0x3495e5['push'](_0x3495e5['shift']());}}}(_0x48ac,0x5d4c8));function _0x48ac(){const _0x173512=['5366502QmGSxz','BLmih','assign','77aoHrRm','lEmRm','join','rHloX','40SucuSG','1562454rAjgfO','201080OiDulP','205890LfDEDJ','peoBK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','10KsWLlz','hZNOw','222906gFbquo','76152SlPpCm','writeFileSync','guid.txt','version','23XakQTL','10006BcjAKq','NapCat','42YrZrQK','readFileSync'];_0x48ac=function(){return _0x173512;};return _0x48ac();}function _0x252c(_0x302e15,_0x5c4555){const _0x48acf6=_0x48ac();return _0x252c=function(_0x252cb8,_0x3bbb6b){_0x252cb8=_0x252cb8-0xa3;let _0x20c318=_0x48acf6[_0x252cb8];return _0x20c318;},_0x252c(_0x302e15,_0x5c4555);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x113e05 from'node:path';import _0x318cd3 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x516791,_0x396a50,_0xb1dc51){const _0xa5035b=_0x252c,_0x2eef46={'rHloX':_0xa5035b(0xa7),'BLmih':'temp','peoBK':_0xa5035b(0xa3),'lEmRm':function(_0x219350){return _0x219350();},'hZNOw':'utf-8'},_0x1bce6a=_0x113e05[_0xa5035b(0xaf)](_0xb1dc51,_0x2eef46[_0xa5035b(0xb0)],_0x2eef46[_0xa5035b(0xab)]);_0x318cd3['mkdirSync'](_0x1bce6a,{'recursive':!![]});const _0x1bd58a=_0x113e05[_0xa5035b(0xaf)](_0xb1dc51,'NapCat',_0x2eef46[_0xa5035b(0xb5)]);let _0x145ff2=_0x2eef46[_0xa5035b(0xae)](randomUUID);try{_0x145ff2=_0x318cd3[_0xa5035b(0xa9)](_0x113e05['join'](_0x1bd58a),_0x2eef46[_0xa5035b(0xb8)]);}catch(_0xd1ab63){_0x318cd3[_0xa5035b(0xbb)](_0x113e05['join'](_0x1bd58a),_0x145ff2,_0x2eef46[_0xa5035b(0xb8)]);}const _0x169398={'selfUin':_0x516791,'selfUid':_0x396a50,'desktopPathConfig':{'account_path':_0xb1dc51},'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':_0x1bce6a,'deviceInfo':{'guid':_0x145ff2,'buildVer':qqPkgInfo[_0xa5035b(0xa4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xa5035b(0xb6)};return Object[_0xa5035b(0xac)](sessionConfig,_0x169398),_0x169398;}