build: test core.lib

This commit is contained in:
linyuchen committed 2024-04-28 20:49:54 +08:00
1 parent efc4e9ce56
commit 46db66038e
143 files changed
+85 -2367

No files matched your search

+1 -1
View File
@@ -1 +1 @@
(function(_0x511cb8,_0x568631){const _0x377281=_0x94d1,_0x4ca056=_0x511cb8();while(!![]){try{const _0x3cbc34=parseInt(_0x377281(0xe9))/0x1+-parseInt(_0x377281(0xf5))/0x2*(parseInt(_0x377281(0xe6))/0x3)+-parseInt(_0x377281(0xe4))/0x4+-parseInt(_0x377281(0xe5))/0x5*(-parseInt(_0x377281(0xe7))/0x6)+parseInt(_0x377281(0xea))/0x7*(-parseInt(_0x377281(0xf4))/0x8)+-parseInt(_0x377281(0xe2))/0x9*(parseInt(_0x377281(0xe8))/0xa)+parseInt(_0x377281(0xf0))/0xb;if(_0x3cbc34===_0x568631)break;else _0x4ca056['push'](_0x4ca056['shift']());}catch(_0x438f21){_0x4ca056['push'](_0x4ca056['shift']());}}}(_0x495d,0xe84ae));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x94d1(_0x377abb,_0x53047f){const _0x495da3=_0x495d();return _0x94d1=function(_0x94d10b,_0x23990d){_0x94d10b=_0x94d10b-0xe0;let _0x59dd5d=_0x495da3[_0x94d10b];return _0x59dd5d;},_0x94d1(_0x377abb,_0x53047f);}function _0x495d(){const _0x3fada8=['31311973fDCFcC','version','khqXE','NapCat','9320OgwQOg','2HsNXKm','readFileSync','utf-8','jzuNB','writeFileSync','temp','3168rhmTKJ','LujBd','2833572hjVxcN','5msABTE','2626797bIBaVu','2108562YGYdAu','4090ukIiAi','880625rRgmGb','8407ZCMVPV','guid.txt','yJxRK','LUrbS','curVersion','join'];_0x495d=function(){return _0x3fada8;};return _0x495d();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x500104 from'node:path';import _0x5d19f8 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;export function genSessionConfig(_0x25524b,_0x3a4ac4,_0x54a1a4){const _0x13db29=_0x94d1,_0x34a334={'LujBd':_0x13db29(0xe1),'khqXE':_0x13db29(0xf3),'yJxRK':function(_0x59c018){return _0x59c018();},'jzuNB':_0x13db29(0xf7),'LUrbS':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'},_0x56397e=_0x500104[_0x13db29(0xef)](_0x54a1a4,_0x13db29(0xf3),_0x34a334[_0x13db29(0xe3)]);_0x5d19f8['mkdirSync'](_0x56397e,{'recursive':!![]});const _0x513930=_0x500104[_0x13db29(0xef)](_0x54a1a4,_0x34a334[_0x13db29(0xf2)],_0x13db29(0xeb));let _0xb28383=_0x34a334[_0x13db29(0xec)](randomUUID);try{_0xb28383=_0x5d19f8[_0x13db29(0xf6)](_0x500104[_0x13db29(0xef)](_0x513930),_0x34a334[_0x13db29(0xf8)]);}catch(_0x2206ca){_0x5d19f8[_0x13db29(0xe0)](_0x500104[_0x13db29(0xef)](_0x513930),_0xb28383,_0x34a334[_0x13db29(0xf8)]);}const _0x2020d7={'selfUin':_0x25524b,'selfUid':_0x3a4ac4,'desktopPathConfig':{'account_path':_0x54a1a4},'clientVer':qqVersionConfigInfo[_0x13db29(0xee)],'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':_0x56397e,'deviceInfo':{'guid':_0xb28383,'buildVer':qqPkgInfo[_0x13db29(0xf1)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x34a334[_0x13db29(0xed)]};return sessionConfig=_0x2020d7,_0x2020d7;}
(function(_0x5e2c2a,_0x490df7){const _0x4ac8ea=_0x39dd,_0x35f78d=_0x5e2c2a();while(!![]){try{const _0x42a1f7=parseInt(_0x4ac8ea(0x73))/0x1*(parseInt(_0x4ac8ea(0x7e))/0x2)+parseInt(_0x4ac8ea(0x6e))/0x3*(-parseInt(_0x4ac8ea(0x81))/0x4)+-parseInt(_0x4ac8ea(0x82))/0x5+-parseInt(_0x4ac8ea(0x80))/0x6+-parseInt(_0x4ac8ea(0x6d))/0x7*(-parseInt(_0x4ac8ea(0x7c))/0x8)+-parseInt(_0x4ac8ea(0x76))/0x9+parseInt(_0x4ac8ea(0x6f))/0xa;if(_0x42a1f7===_0x490df7)break;else _0x35f78d['push'](_0x35f78d['shift']());}catch(_0x19816b){_0x35f78d['push'](_0x35f78d['shift']());}}}(_0x4699,0xd3982));function _0x4699(){const _0x47569e=['temp','12hQrTAr','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','6741852QLbwDe','364jyuIdy','5993000lOIRaO','curVersion','112XQxkMf','41247RtMdzT','37760120IWbQMP','guid.txt','mkdirSync','join','51215pfhVJB','version','utf-8','11687139mfGdBg','readFileSync','writeFileSync','DazAY','yjAWK','NapCat','827680pCnKWE'];_0x4699=function(){return _0x47569e;};return _0x4699();}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5c1d5f from'node:path';import _0x1f5cc8 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x39dd(_0x5d7b66,_0x6fdecf){const _0x46996e=_0x4699();return _0x39dd=function(_0x39dd4b,_0x425575){_0x39dd4b=_0x39dd4b-0x6d;let _0x5cdc6f=_0x46996e[_0x39dd4b];return _0x5cdc6f;},_0x39dd(_0x5d7b66,_0x6fdecf);}export function genSessionConfig(_0x17c1c6,_0x93206d,_0xb49ef4){const _0xe57240=_0x39dd,_0x58c186={'brgxC':_0xe57240(0x7b),'DazAY':_0xe57240(0x7d),'yjAWK':_0xe57240(0x75)},_0x5dc923=_0x5c1d5f['join'](_0xb49ef4,_0x58c186['brgxC'],_0x58c186[_0xe57240(0x79)]);_0x1f5cc8[_0xe57240(0x71)](_0x5dc923,{'recursive':!![]});const _0x3f7ac2=_0x5c1d5f[_0xe57240(0x72)](_0xb49ef4,_0x58c186['brgxC'],_0xe57240(0x70));let _0x5072d2=randomUUID();try{_0x5072d2=_0x1f5cc8[_0xe57240(0x77)](_0x5c1d5f[_0xe57240(0x72)](_0x3f7ac2),_0x58c186[_0xe57240(0x7a)]);}catch(_0x5ce339){_0x1f5cc8[_0xe57240(0x78)](_0x5c1d5f[_0xe57240(0x72)](_0x3f7ac2),_0x5072d2,_0x58c186[_0xe57240(0x7a)]);}const _0xc2a802={'selfUin':_0x17c1c6,'selfUid':_0x93206d,'desktopPathConfig':{'account_path':_0xb49ef4},'clientVer':qqVersionConfigInfo[_0xe57240(0x83)],'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':_0x5dc923,'deviceInfo':{'guid':_0x5072d2,'buildVer':qqPkgInfo[_0xe57240(0x74)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xe57240(0x7f)};return sessionConfig=_0xc2a802,_0xc2a802;}