chore: sync core to core.lib

This commit is contained in:
手瓜一十雪 committed 2024-05-02 21:42:13 +08:00
1 parent 76a9edb7f5
commit 8ae0d07ec1
46 files changed
+62 -43

No files matched your search

+1 -1
View File
@@ -1 +1 @@
(function(_0x12c441,_0x2a4698){const _0x42d8f1=_0x1dda,_0xe34156=_0x12c441();while(!![]){try{const _0x1349e9=-parseInt(_0x42d8f1(0x188))/0x1+-parseInt(_0x42d8f1(0x18d))/0x2+-parseInt(_0x42d8f1(0x18a))/0x3*(-parseInt(_0x42d8f1(0x189))/0x4)+parseInt(_0x42d8f1(0x193))/0x5*(-parseInt(_0x42d8f1(0x184))/0x6)+parseInt(_0x42d8f1(0x18c))/0x7*(parseInt(_0x42d8f1(0x181))/0x8)+parseInt(_0x42d8f1(0x18b))/0x9*(parseInt(_0x42d8f1(0x183))/0xa)+parseInt(_0x42d8f1(0x195))/0xb*(-parseInt(_0x42d8f1(0x196))/0xc);if(_0x1349e9===_0x2a4698)break;else _0xe34156['push'](_0xe34156['shift']());}catch(_0xd994c){_0xe34156['push'](_0xe34156['shift']());}}}(_0x5503,0x617e1));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x338557 from'node:path';function _0x5503(){const _0x22f625=['curVersion','AnfHn','readFileSync','499548YXktHv','4MPHoBw','1128447odlZog','1629WnjYMO','7ZUxLKW','405598dzqEGN','utf-8','Ehimz','TXecI','temp','writeFileSync','1630VDCbyq','mkdirSync','33EKwMBd','538680EuiEid','guid.txt','FnUuH','version','jAZRh','NapCat','5062256BoKsVj','join','15230xMiZUm','888WLeSlm'];_0x5503=function(){return _0x22f625;};return _0x5503();}import _0x5cbeb9 from'node:fs';function _0x1dda(_0xb19bd7,_0x3e0da4){const _0x5503ec=_0x5503();return _0x1dda=function(_0x1dda8d,_0x1d1331){_0x1dda8d=_0x1dda8d-0x17e;let _0x44fbec=_0x5503ec[_0x1dda8d];return _0x44fbec;},_0x1dda(_0xb19bd7,_0x3e0da4);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x22ae67,_0x37bcab,_0x1a7ee6){const _0x336316=_0x1dda,_0x3517a3={'Ehimz':'NapCat','AnfHn':_0x336316(0x191),'FnUuH':_0x336316(0x197),'TXecI':function(_0x18d02b){return _0x18d02b();},'jAZRh':_0x336316(0x18e),'Ftgpg':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x812a0d=_0x338557[_0x336316(0x182)](_0x1a7ee6,_0x3517a3[_0x336316(0x18f)],_0x3517a3[_0x336316(0x186)]);_0x5cbeb9[_0x336316(0x194)](_0x812a0d,{'recursive':!![]});const _0x1b2165=_0x338557[_0x336316(0x182)](_0x1a7ee6,_0x336316(0x180),_0x3517a3[_0x336316(0x198)]);let _0x16e2be=_0x3517a3[_0x336316(0x190)](randomUUID);try{_0x16e2be=_0x5cbeb9[_0x336316(0x187)](_0x338557[_0x336316(0x182)](_0x1b2165),_0x336316(0x18e));}catch(_0x2d7ce9){_0x5cbeb9[_0x336316(0x192)](_0x338557['join'](_0x1b2165),_0x16e2be,_0x3517a3[_0x336316(0x17f)]);}const _0x145ea7={'selfUin':_0x22ae67,'selfUid':_0x37bcab,'desktopPathConfig':{'account_path':_0x1a7ee6},'clientVer':qqVersionConfigInfo[_0x336316(0x185)],'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':_0x812a0d,'deviceInfo':{'guid':_0x16e2be,'buildVer':qqPkgInfo[_0x336316(0x17e)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3517a3['Ftgpg']};return Object['assign'](sessionConfig,_0x145ea7),_0x145ea7;}
(function(_0x231df2,_0x2e30ec){const _0x49ca7d=_0x5f2f,_0xb1f01b=_0x231df2();while(!![]){try{const _0xd9fe0f=-parseInt(_0x49ca7d(0x79))/0x1+-parseInt(_0x49ca7d(0x73))/0x2*(-parseInt(_0x49ca7d(0x74))/0x3)+parseInt(_0x49ca7d(0x6f))/0x4*(-parseInt(_0x49ca7d(0x7f))/0x5)+parseInt(_0x49ca7d(0x6c))/0x6*(-parseInt(_0x49ca7d(0x7b))/0x7)+parseInt(_0x49ca7d(0x7d))/0x8+-parseInt(_0x49ca7d(0x6d))/0x9*(parseInt(_0x49ca7d(0x78))/0xa)+parseInt(_0x49ca7d(0x6e))/0xb;if(_0xd9fe0f===_0x2e30ec)break;else _0xb1f01b['push'](_0xb1f01b['shift']());}catch(_0x32cf6f){_0xb1f01b['push'](_0xb1f01b['shift']());}}}(_0x680a,0xaedec));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x5f2f(_0x88826f,_0xd901d5){const _0x680aef=_0x680a();return _0x5f2f=function(_0x5f2f8f,_0x5885b9){_0x5f2f8f=_0x5f2f8f-0x6b;let _0x494e23=_0x680aef[_0x5f2f8f];return _0x494e23;},_0x5f2f(_0x88826f,_0xd901d5);}import _0x28be37 from'node:path';import _0x14f843 from'node:fs';import{randomUUID}from'crypto';function _0x680a(){const _0x36a9fe=['OqwtY','NapCat','YHwjL','362EOXiyD','10083WcdCJC','guid.txt','join','readFileSync','380dVLqwn','1310930wSndsk','jutoN','7iUnOHj','YWrFG','5021896HdYzTb','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','322725xxEsDj','utf-8','mkdirSync','assign','DDxyv','582786Pdhyfy','20160EvCKXe','24196986Wzlgkx','76AaySSI'];_0x680a=function(){return _0x36a9fe;};return _0x680a();}export const sessionConfig={};export function genSessionConfig(_0xb99a1f,_0x176c35,_0x278b92){const _0x3bf9f1=_0x5f2f,_0x24a14f={'OqwtY':_0x3bf9f1(0x71),'YWrFG':'temp','YHwjL':_0x3bf9f1(0x75),'DDxyv':function(_0x40b407){return _0x40b407();},'jutoN':_0x3bf9f1(0x80)},_0x526d0a=_0x28be37[_0x3bf9f1(0x76)](_0x278b92,_0x24a14f[_0x3bf9f1(0x70)],_0x24a14f[_0x3bf9f1(0x7c)]);_0x14f843[_0x3bf9f1(0x81)](_0x526d0a,{'recursive':!![]});const _0x44880d=_0x28be37[_0x3bf9f1(0x76)](_0x278b92,_0x24a14f[_0x3bf9f1(0x70)],_0x24a14f[_0x3bf9f1(0x72)]);let _0x1833f9=_0x24a14f[_0x3bf9f1(0x6b)](randomUUID);try{_0x1833f9=_0x14f843[_0x3bf9f1(0x77)](_0x28be37[_0x3bf9f1(0x76)](_0x44880d),_0x3bf9f1(0x80));}catch(_0x53bcfd){_0x14f843['writeFileSync'](_0x28be37['join'](_0x44880d),_0x1833f9,_0x24a14f[_0x3bf9f1(0x7a)]);}const _0x144c0a={'selfUin':_0xb99a1f,'selfUid':_0x176c35,'desktopPathConfig':{'account_path':_0x278b92},'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':_0x526d0a,'deviceInfo':{'guid':_0x1833f9,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3bf9f1(0x7e)};return Object[_0x3bf9f1(0x82)](sessionConfig,_0x144c0a),_0x144c0a;}