refactor: powershell script
This commit is contained in:
1 parent
e506f50b00
commit
cad824dcbc
43 files changed
+95
-55
No files matched your search
@@ -1 +1 @@
|
||||
function _0x3a8e(){const _0x5aebed=['temp','964OpuqkC','1154604QtDKkP','join','NapCat','writeFileSync','curVersion','1779678QDHFtx','utf-8','40BTQFZs','version','tCUWi','gSzej','TIdNb','assign','iJSfL','425610WsNOdg','9EoztvK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','913212lubZgg','70vMROLq','KeAzt','guid.txt','mkdirSync','1194816wBRIrJ','131646zkHrtK','32rpNxDL'];_0x3a8e=function(){return _0x5aebed;};return _0x3a8e();}(function(_0x34fff3,_0x3c3244){const _0xc6e876=_0x4edc,_0x4127e6=_0x34fff3();while(!![]){try{const _0x43f46a=parseInt(_0xc6e876(0x1c8))/0x1*(parseInt(_0xc6e876(0x1d0))/0x2)+-parseInt(_0xc6e876(0x1c7))/0x3+-parseInt(_0xc6e876(0x1d3))/0x4*(parseInt(_0xc6e876(0x1c0))/0x5)+-parseInt(_0xc6e876(0x1be))/0x6+-parseInt(_0xc6e876(0x1cf))/0x7+parseInt(_0xc6e876(0x1d1))/0x8*(-parseInt(_0xc6e876(0x1ca))/0x9)+parseInt(_0xc6e876(0x1cb))/0xa*(parseInt(_0xc6e876(0x1d4))/0xb);if(_0x43f46a===_0x3c3244)break;else _0x4127e6['push'](_0x4127e6['shift']());}catch(_0x5a137c){_0x4127e6['push'](_0x4127e6['shift']());}}}(_0x3a8e,0x4bba8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x20e000 from'node:path';import _0x42abcd from'node:fs';function _0x4edc(_0x3300b6,_0x43e578){const _0x3a8ece=_0x3a8e();return _0x4edc=function(_0x4edc97,_0x4d9ff4){_0x4edc97=_0x4edc97-0x1ba;let _0x535cbb=_0x3a8ece[_0x4edc97];return _0x535cbb;},_0x4edc(_0x3300b6,_0x43e578);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x51b6ec,_0xd3edef,_0x10260d){const _0x591855=_0x4edc,_0x3cbcf7={'nlLpm':_0x591855(0x1bb),'gSzej':_0x591855(0x1d2),'TIdNb':_0x591855(0x1cd),'tCUWi':function(_0x420d17){return _0x420d17();},'iJSfL':_0x591855(0x1bf),'KeAzt':_0x591855(0x1c9)},_0x2571c9=_0x20e000[_0x591855(0x1ba)](_0x10260d,_0x3cbcf7['nlLpm'],_0x3cbcf7[_0x591855(0x1c3)]);_0x42abcd[_0x591855(0x1ce)](_0x2571c9,{'recursive':!![]});const _0x12972c=_0x20e000[_0x591855(0x1ba)](_0x10260d,'NapCat',_0x3cbcf7[_0x591855(0x1c4)]);let _0x3995cf=_0x3cbcf7[_0x591855(0x1c2)](randomUUID);try{_0x3995cf=_0x42abcd['readFileSync'](_0x20e000[_0x591855(0x1ba)](_0x12972c),_0x3cbcf7['iJSfL']);}catch(_0x54e1c0){_0x42abcd[_0x591855(0x1bc)](_0x20e000[_0x591855(0x1ba)](_0x12972c),_0x3995cf,_0x3cbcf7[_0x591855(0x1c6)]);}const _0x643a65={'selfUin':_0x51b6ec,'selfUid':_0xd3edef,'desktopPathConfig':{'account_path':_0x10260d},'clientVer':qqVersionConfigInfo[_0x591855(0x1bd)],'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':_0x2571c9,'deviceInfo':{'guid':_0x3995cf,'buildVer':qqPkgInfo[_0x591855(0x1c1)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3cbcf7[_0x591855(0x1cc)]};return Object[_0x591855(0x1c5)](sessionConfig,_0x643a65),_0x643a65;}
|
||||
(function(_0x4cf097,_0x6a75e6){const _0x20206b=_0x1e0b,_0x52ab6e=_0x4cf097();while(!![]){try{const _0x1e0a14=-parseInt(_0x20206b(0xe7))/0x1*(-parseInt(_0x20206b(0xf7))/0x2)+-parseInt(_0x20206b(0xf2))/0x3*(parseInt(_0x20206b(0xfa))/0x4)+-parseInt(_0x20206b(0xf5))/0x5+parseInt(_0x20206b(0xf0))/0x6+-parseInt(_0x20206b(0xee))/0x7*(-parseInt(_0x20206b(0xeb))/0x8)+parseInt(_0x20206b(0xea))/0x9*(parseInt(_0x20206b(0xf8))/0xa)+-parseInt(_0x20206b(0xef))/0xb;if(_0x1e0a14===_0x6a75e6)break;else _0x52ab6e['push'](_0x52ab6e['shift']());}catch(_0x1490cd){_0x52ab6e['push'](_0x52ab6e['shift']());}}}(_0x1414,0x94358));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x34f6b2 from'node:path';function _0x1414(){const _0x32abcc=['3970395AuEcPN','49736piUGKK','MGCBp','join','623KqDFXW','4784758eZzaMe','4995006OQXkuJ','mkdirSync','5997fQrIyJ','guid.txt','writeFileSync','1707635yigzSy','temp','2smwprH','10LYLCaU','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','2156OfhdtX','assign','utf-8','readFileSync','MWSOg','curVersion','634061OLbRfT','jewCP','tLsFs'];_0x1414=function(){return _0x32abcc;};return _0x1414();}import _0x43b35b from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x1e0b(_0x1a484e,_0x257614){const _0x1414dc=_0x1414();return _0x1e0b=function(_0x1e0b69,_0x2c4f39){_0x1e0b69=_0x1e0b69-0xe2;let _0x522658=_0x1414dc[_0x1e0b69];return _0x522658;},_0x1e0b(_0x1a484e,_0x257614);}export function genSessionConfig(_0x198cce,_0x5a56d2,_0x30c993){const _0x9cd613=_0x1e0b,_0x26b4d9={'MGCBp':'NapCat','jewCP':_0x9cd613(0xf6),'tLsFs':function(_0x3d4bd3){return _0x3d4bd3();},'HGuNd':_0x9cd613(0xe3),'MWSOg':_0x9cd613(0xf9)},_0xb7bf7f=_0x34f6b2[_0x9cd613(0xed)](_0x30c993,_0x26b4d9[_0x9cd613(0xec)],_0x26b4d9[_0x9cd613(0xe8)]);_0x43b35b[_0x9cd613(0xf1)](_0xb7bf7f,{'recursive':!![]});const _0x317d44=_0x34f6b2[_0x9cd613(0xed)](_0x30c993,_0x26b4d9[_0x9cd613(0xec)],_0x9cd613(0xf3));let _0x41ff50=_0x26b4d9[_0x9cd613(0xe9)](randomUUID);try{_0x41ff50=_0x43b35b[_0x9cd613(0xe4)](_0x34f6b2['join'](_0x317d44),_0x9cd613(0xe3));}catch(_0x1c8be3){_0x43b35b[_0x9cd613(0xf4)](_0x34f6b2['join'](_0x317d44),_0x41ff50,_0x26b4d9['HGuNd']);}const _0x13d93c={'selfUin':_0x198cce,'selfUid':_0x5a56d2,'desktopPathConfig':{'account_path':_0x30c993},'clientVer':qqVersionConfigInfo[_0x9cd613(0xe6)],'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':_0xb7bf7f,'deviceInfo':{'guid':_0x41ff50,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x26b4d9[_0x9cd613(0xe5)]};return Object[_0x9cd613(0xe2)](sessionConfig,_0x13d93c),_0x13d93c;}
|
||||
Reference in new issue
Block a user