feat: support card miniapp

This commit is contained in:
手瓜一十雪 committed 2024-05-25 11:35:08 +08:00
1 parent f2f6701ebd
commit f315f7977d
46 files changed
+58 -55

No files matched your search

+1 -1
View File
@@ -1 +1 @@
(function(_0x20d59a,_0x46fcac){const _0x328412=_0x2c49,_0x3b645a=_0x20d59a();while(!![]){try{const _0x3858d5=parseInt(_0x328412(0x118))/0x1+parseInt(_0x328412(0x106))/0x2+-parseInt(_0x328412(0x11b))/0x3*(parseInt(_0x328412(0x10c))/0x4)+parseInt(_0x328412(0x10f))/0x5+parseInt(_0x328412(0x114))/0x6*(-parseInt(_0x328412(0x112))/0x7)+parseInt(_0x328412(0x117))/0x8*(-parseInt(_0x328412(0x10d))/0x9)+parseInt(_0x328412(0x116))/0xa;if(_0x3858d5===_0x46fcac)break;else _0x3b645a['push'](_0x3b645a['shift']());}catch(_0x21c0c8){_0x3b645a['push'](_0x3b645a['shift']());}}}(_0x3729,0x9c531));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x58ac48 from'node:path';import _0x4bd360 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x2c49(_0x4b4f60,_0x563c8c){const _0x372925=_0x3729();return _0x2c49=function(_0x2c496b,_0x1d5e37){_0x2c496b=_0x2c496b-0x106;let _0x379298=_0x372925[_0x2c496b];return _0x379298;},_0x2c49(_0x4b4f60,_0x563c8c);}function _0x3729(){const _0x5809cb=['MSZjD','writeFileSync','utf-8','11316pRiqpf','1567161KyZJeF','xYmya','6087015CJKeFn','curVersion','WkMot','89509nuyLVa','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','234tjylee','mkdirSync','223030hPIYLZ','16RgIeSg','407584tRliap','join','version','828FbqnbD','1241540oFnSYI','assign','FiLVG'];_0x3729=function(){return _0x5809cb;};return _0x3729();}export function genSessionConfig(_0xd804dd,_0x21aff2,_0x2b7760){const _0x4e7e82=_0x2c49,_0x5e9eee={'xYmya':'NapCat','FiLVG':'guid.txt','MSZjD':function(_0xfdca92){return _0xfdca92();},'tjcqC':_0x4e7e82(0x10b),'WkMot':_0x4e7e82(0x113)},_0x169c31=_0x58ac48[_0x4e7e82(0x119)](_0x2b7760,_0x5e9eee[_0x4e7e82(0x10e)],'temp');_0x4bd360[_0x4e7e82(0x115)](_0x169c31,{'recursive':!![]});const _0x124272=_0x58ac48[_0x4e7e82(0x119)](_0x2b7760,_0x5e9eee['xYmya'],_0x5e9eee[_0x4e7e82(0x108)]);let _0x5603c1=_0x5e9eee[_0x4e7e82(0x109)](randomUUID);try{_0x5603c1=_0x4bd360['readFileSync'](_0x58ac48[_0x4e7e82(0x119)](_0x124272),_0x4e7e82(0x10b));}catch(_0x207ded){_0x4bd360[_0x4e7e82(0x10a)](_0x58ac48[_0x4e7e82(0x119)](_0x124272),_0x5603c1,_0x5e9eee['tjcqC']);}const _0x26be17={'selfUin':_0xd804dd,'selfUid':_0x21aff2,'desktopPathConfig':{'account_path':_0x2b7760},'clientVer':qqVersionConfigInfo[_0x4e7e82(0x110)],'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':_0x169c31,'deviceInfo':{'guid':_0x5603c1,'buildVer':qqPkgInfo[_0x4e7e82(0x11a)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x5e9eee[_0x4e7e82(0x111)]};return Object[_0x4e7e82(0x107)](sessionConfig,_0x26be17),_0x26be17;}
function _0x5474(_0x2001a1,_0x25ac56){const _0x11e7c2=_0x11e7();return _0x5474=function(_0x5474ee,_0x46ad87){_0x5474ee=_0x5474ee-0x18a;let _0x1f1317=_0x11e7c2[_0x5474ee];return _0x1f1317;},_0x5474(_0x2001a1,_0x25ac56);}function _0x11e7(){const _0x5d0779=['3637302ymjNNu','3466701DKgJbZ','readFileSync','NapCat','1592950nwnJCt','2879262ruFSwM','dfDom','24322520PHojhL','writeFileSync','mkdirSync','71845PtIIsJ','232yQGVYv','join','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','qUgaO','833019wLHNQf','RpusD','version','utf-8','KuthO','curVersion'];_0x11e7=function(){return _0x5d0779;};return _0x11e7();}(function(_0x13a425,_0x5aabba){const _0x9a53ba=_0x5474,_0xf2d1d2=_0x13a425();while(!![]){try{const _0x54ec3c=parseInt(_0x9a53ba(0x193))/0x1+parseInt(_0x9a53ba(0x19d))/0x2+parseInt(_0x9a53ba(0x199))/0x3+-parseInt(_0x9a53ba(0x18e))/0x4*(-parseInt(_0x9a53ba(0x18d))/0x5)+parseInt(_0x9a53ba(0x19e))/0x6+-parseInt(_0x9a53ba(0x19a))/0x7+-parseInt(_0x9a53ba(0x18a))/0x8;if(_0x54ec3c===_0x5aabba)break;else _0xf2d1d2['push'](_0xf2d1d2['shift']());}catch(_0x174c44){_0xf2d1d2['push'](_0xf2d1d2['shift']());}}}(_0x11e7,0x97481));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x16803d from'node:path';import _0x45df1d from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x42f2e9,_0x2254af,_0x439ab0){const _0x25c0e4=_0x5474,_0x318715={'KuthO':'temp','RpusD':_0x25c0e4(0x19c),'qUgaO':_0x25c0e4(0x190),'CfRCH':function(_0xb2152c){return _0xb2152c();},'qBWFY':_0x25c0e4(0x196),'dfDom':_0x25c0e4(0x191)},_0x145c2b=_0x16803d['join'](_0x439ab0,_0x25c0e4(0x19c),_0x318715[_0x25c0e4(0x197)]);_0x45df1d[_0x25c0e4(0x18c)](_0x145c2b,{'recursive':!![]});const _0x264a5c=_0x16803d[_0x25c0e4(0x18f)](_0x439ab0,_0x318715[_0x25c0e4(0x194)],_0x318715[_0x25c0e4(0x192)]);let _0x1df916=_0x318715['CfRCH'](randomUUID);try{_0x1df916=_0x45df1d[_0x25c0e4(0x19b)](_0x16803d['join'](_0x264a5c),_0x318715['qBWFY']);}catch(_0x2f373e){_0x45df1d[_0x25c0e4(0x18b)](_0x16803d[_0x25c0e4(0x18f)](_0x264a5c),_0x1df916,_0x25c0e4(0x196));}const _0x4c0b6e={'selfUin':_0x42f2e9,'selfUid':_0x2254af,'desktopPathConfig':{'account_path':_0x439ab0},'clientVer':qqVersionConfigInfo[_0x25c0e4(0x198)],'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':_0x145c2b,'deviceInfo':{'guid':_0x1df916,'buildVer':qqPkgInfo[_0x25c0e4(0x195)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x318715[_0x25c0e4(0x19f)]};return Object['assign'](sessionConfig,_0x4c0b6e),_0x4c0b6e;}