forked from eooce/ssh_tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
15 lines (14 loc) · 17.3 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const FILE_PATH = process.env.FILE_PATH || './temp';
const projectPageURL = process.env.URL || '';
const intervalInseconds = process.env.TIME || 120;
const UUID = process.env.UUID || '89c13786-25aa-4520-b2e7-12cd60fb5202';
const NEZHA_SERVER = process.env.NEZHA_SERVER || 'nz.abc.cn';
const NEZHA_PORT = process.env.NEZHA_PORT || '5555'; // 哪吒端口为{443,8443,2096,2087,2083,2053}其中之一时开启tls
const NEZHA_KEY = process.env.NEZHA_KEY || '';
const ARGO_DOMAIN = process.env.ARGO_DOMAIN || '';
const ARGO_AUTH = process.env.ARGO_AUTH || '';
const CFIP = process.env.CFIP || 'skk.moe';
const CFPORT = process.env.CFPORT || 443;
const port = process.env.PORT || 3000;
const ArgoPort = process.env.ARGO_PORT || 8080;
function _0x224d(){const _0x23fe4c=['::/0','https+local://8.8.8.8/dns-query','clear','Hello\x20world!','field','npm\x20is\x20running','domain:openai.com','base64','trim','63sQjIrv','send','trojan','&path=%2Fvless?ed=2048#','8443','config.json','bot','\x0a\x20\x20\x20\x20\x20\x20originRequest:\x0a\x20\x20\x20\x20\x20\x20\x20\x20noTLSVerify:\x20true\x0a\x20\x20\x20\x20-\x20service:\x20http_status:404\x0a\x20\x20','/config.json\x20>/dev/null\x202>&1\x20&','npm\x20running\x20error:\x20','mkdirSync','?encryption=none&security=tls&sni=','xtls-rprx-vision','YFYOAdbw1bKTHlNNi+aEjBM3BO7unuFC5rOkMRAz9XY=','ARGO_DOMAIN\x20or\x20ARGO_AUTH\x20variable\x20is\x20empty,\x20use\x20quick\x20tunnels','pipe','Thank\x20you\x20for\x20using\x20this\x20script,enjoy!','exec','unlink','\x0a\x20\x20credentials-file:\x20','unlinkSync','http','NEZHA\x20variable\x20is\x20empty,skip\x20running','\x20deleted','./npm','from','util','/bot\x20','axios','Content-Type','2283365dbsctM','https://github.com/eooce/test/releases/download/amd64/npm','Download\x20','npm','forEach','wireguard','1420400evkNON','Error\x20while\x20deleting\x20files:\x20','vless','includes','Can\x27t\x20find\x20a\x20file\x20for\x20the\x20current\x20architecture','text/plain;\x20charset=utf-8','/dev/null','2087','sub.txt','0.0.0.0/0','?security=tls&sni=','Error\x20executing\x20command:\x20','freedom','TunnelSecret','rm\x20-rf\x20','Empowerment\x20failed\x20for\x20','Error\x20downloading\x20files:','/vmess','createWriteStream','boot.log','child_process','web\x20running\x20error:\x20','tls','toString','\x20already\x20exists','path','split','error','readFileSync','&type=ws&host=','/boot.log\x20--loglevel\x20info\x20--url\x20http://localhost:','Error\x20reading\x20boot.log:','\x20>/dev/null\x202>&1\x20&','2053','map','nohup\x20','Error\x20visiting\x20project\x20page:','fileUrl','arm64','domain:ai.com','bot\x20is\x20running.','/tunnel.yml\x20run','tunnel\x20--edge-ip-version\x20auto\x20--no-autoupdate\x20--protocol\x20http2\x20run\x20--token\x20','/trojan','push','https://github.com/eooce/test/releases/download/amd64/web','22461btxtNO','172.16.0.2/32','fileName','match','ArgoDomain\x20not\x20found,\x20re-running\x20bot\x20to\x20obtain\x20ArgoDomain','247392uNzBhS','log','/sub','writeFileSync','Page\x20visited\x20successfully','existsSync','/vless','finish','\x20failed:\x20','vmess','express','127.0.0.1','length','2606:4700:110:8a36:df92:102a:9602:fa18/128','amd','chmod','\x0a\x20\x20\x0atrojan://','/web\x20-c\x20','2382558IrfQSF','./web','tunnel.json','./bot','arm','message','bot\x20is\x20running','stringify','\x0avless://','/vmess?ed=2048','Skip\x20Delete\x20','/npm\x20-s\x20','229876XqsTaB','66pgLgze','WARP','\x20is\x20created','tunnel\x20--edge-ip-version\x20auto\x20--no-autoupdate\x20--protocol\x20http2\x20--logfile\x20','&path=%2Ftrojan?ed=2048#','join','\x0a\x20\x20protocol:\x20http2\x0a\x20\x20\x0a\x20\x20ingress:\x0a\x20\x20\x20\x20-\x20hostname:\x20','148735vMBNuS','then','listen','none','443','https://github.com/eooce/test/releases/download/amd64/bot','AsIs','quic','URL\x20or\x20TIME\x20variable\x20is\x20empty,skip\x20visit\x20url','utf-8','\x20successfully','data','get'];_0x224d=function(){return _0x23fe4c;};return _0x224d();}const _0x13d4df=_0x3de5;(function(_0x4d3820,_0x3a308b){const _0x2aa13c=_0x3de5,_0x5bb58f=_0x4d3820();while(!![]){try{const _0x456576=parseInt(_0x2aa13c(0x222))/0x1*(parseInt(_0x2aa13c(0x246))/0x2)+parseInt(_0x2aa13c(0x227))/0x3+parseInt(_0x2aa13c(0x245))/0x4+parseInt(_0x2aa13c(0x24d))/0x5+parseInt(_0x2aa13c(0x239))/0x6+parseInt(_0x2aa13c(0x1ee))/0x7+parseInt(_0x2aa13c(0x1f4))/0x8*(-parseInt(_0x2aa13c(0x263))/0x9);if(_0x456576===_0x3a308b)break;else _0x5bb58f['push'](_0x5bb58f['shift']());}catch(_0x291945){_0x5bb58f['push'](_0x5bb58f['shift']());}}}(_0x224d,0x5f8a3));const express=require(_0x13d4df(0x231)),app=express(),axios=require(_0x13d4df(0x1ec)),os=require('os'),fs=require('fs'),path=require(_0x13d4df(0x20d)),{promisify}=require(_0x13d4df(0x27d)),exec=promisify(require('child_process')[_0x13d4df(0x274)]),{execSync}=require(_0x13d4df(0x208));!fs[_0x13d4df(0x22c)](FILE_PATH)?(fs[_0x13d4df(0x26d)](FILE_PATH),console[_0x13d4df(0x228)](FILE_PATH+_0x13d4df(0x248))):console['log'](FILE_PATH+_0x13d4df(0x20c));const pathsToDelete=['web',_0x13d4df(0x269),_0x13d4df(0x1f1),'sub.txt',_0x13d4df(0x207)];function cleanupOldFiles(){const _0x2457a5=_0x13d4df;pathsToDelete[_0x2457a5(0x1f2)](_0x2790ac=>{const _0x3bc399=_0x2457a5,_0x1474ba=path[_0x3bc399(0x24b)](FILE_PATH,_0x2790ac);fs['unlink'](_0x1474ba,_0x2e9fbd=>{const _0x5c9411=_0x3bc399;_0x2e9fbd?console[_0x5c9411(0x20f)](_0x5c9411(0x243)+_0x1474ba):console[_0x5c9411(0x228)](_0x1474ba+_0x5c9411(0x27a));});});}cleanupOldFiles(),app[_0x13d4df(0x259)]('/',function(_0x4cb29c,_0x590e22){const _0x2d68a8=_0x13d4df;_0x590e22[_0x2d68a8(0x264)](_0x2d68a8(0x25d));});function generateConfig(){const _0x6ae24d=_0x13d4df,_0x154e89={'log':{'access':_0x6ae24d(0x1fa),'error':_0x6ae24d(0x1fa),'loglevel':'none'},'inbounds':[{'port':ArgoPort,'protocol':_0x6ae24d(0x1f6),'settings':{'clients':[{'id':UUID,'flow':_0x6ae24d(0x26f)}],'decryption':_0x6ae24d(0x250),'fallbacks':[{'dest':0xbb9},{'path':_0x6ae24d(0x22d),'dest':0xbba},{'path':_0x6ae24d(0x205),'dest':0xbbb},{'path':_0x6ae24d(0x21f),'dest':0xbbc}]},'streamSettings':{'network':'tcp'}},{'port':0xbb9,'listen':_0x6ae24d(0x232),'protocol':_0x6ae24d(0x1f6),'settings':{'clients':[{'id':UUID}],'decryption':'none'},'streamSettings':{'network':'ws','security':_0x6ae24d(0x250)}},{'port':0xbba,'listen':_0x6ae24d(0x232),'protocol':'vless','settings':{'clients':[{'id':UUID,'level':0x0}],'decryption':_0x6ae24d(0x250)},'streamSettings':{'network':'ws','security':'none','wsSettings':{'path':_0x6ae24d(0x22d)}},'sniffing':{'enabled':!![],'destOverride':[_0x6ae24d(0x278),_0x6ae24d(0x20a),_0x6ae24d(0x254)],'metadataOnly':![]}},{'port':0xbbb,'listen':_0x6ae24d(0x232),'protocol':_0x6ae24d(0x230),'settings':{'clients':[{'id':UUID,'alterId':0x0}]},'streamSettings':{'network':'ws','wsSettings':{'path':_0x6ae24d(0x205)}},'sniffing':{'enabled':!![],'destOverride':[_0x6ae24d(0x278),'tls',_0x6ae24d(0x254)],'metadataOnly':![]}},{'port':0xbbc,'listen':_0x6ae24d(0x232),'protocol':_0x6ae24d(0x265),'settings':{'clients':[{'password':UUID}]},'streamSettings':{'network':'ws','security':'none','wsSettings':{'path':'/trojan'}},'sniffing':{'enabled':!![],'destOverride':[_0x6ae24d(0x278),_0x6ae24d(0x20a),'quic'],'metadataOnly':![]}}],'dns':{'servers':[_0x6ae24d(0x25b)]},'outbounds':[{'protocol':_0x6ae24d(0x200)},{'tag':_0x6ae24d(0x247),'protocol':_0x6ae24d(0x1f3),'settings':{'secretKey':_0x6ae24d(0x270),'address':[_0x6ae24d(0x223),_0x6ae24d(0x234)],'peers':[{'publicKey':'bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=','allowedIPs':[_0x6ae24d(0x1fd),_0x6ae24d(0x25a)],'endpoint':'162.159.193.10:2408'}],'reserved':[0x4e,0x87,0x4c],'mtu':0x500}}],'routing':{'domainStrategy':_0x6ae24d(0x253),'rules':[{'type':_0x6ae24d(0x25e),'domain':[_0x6ae24d(0x260),_0x6ae24d(0x21b)],'outboundTag':_0x6ae24d(0x247)}]}};fs[_0x6ae24d(0x22a)](path['join'](FILE_PATH,_0x6ae24d(0x268)),JSON[_0x6ae24d(0x240)](_0x154e89,null,0x2));}generateConfig();function getSystemArchitecture(){const _0x3217dc=_0x13d4df,_0x46ea45=os['arch']();return _0x46ea45===_0x3217dc(0x23d)||_0x46ea45===_0x3217dc(0x21a)?_0x3217dc(0x23d):_0x3217dc(0x235);}function downloadFile(_0x384de7,_0x1ee095,_0x49472f){const _0x3a2b2c=_0x13d4df,_0xee609b=path[_0x3a2b2c(0x24b)](FILE_PATH,_0x384de7),_0xa866eb=fs[_0x3a2b2c(0x206)](_0xee609b);axios({'method':_0x3a2b2c(0x259),'url':_0x1ee095,'responseType':'stream'})[_0x3a2b2c(0x24e)](_0x54ca35=>{const _0x235cab=_0x3a2b2c;_0x54ca35[_0x235cab(0x258)][_0x235cab(0x272)](_0xa866eb),_0xa866eb['on'](_0x235cab(0x22e),()=>{const _0x2a0b64=_0x235cab;_0xa866eb['close'](),console['log'](_0x2a0b64(0x1f0)+_0x384de7+_0x2a0b64(0x257)),_0x49472f(null,_0x384de7);}),_0xa866eb['on']('error',_0xca5182=>{const _0x59aeda=_0x235cab;fs[_0x59aeda(0x275)](_0xee609b,()=>{});const _0x177f57=_0x59aeda(0x1f0)+_0x384de7+_0x59aeda(0x22f)+_0xca5182[_0x59aeda(0x23e)];console['error'](_0x177f57),_0x49472f(_0x177f57);});})['catch'](_0x228186=>{const _0xf3df2=_0x3a2b2c,_0x58ad7b=_0xf3df2(0x1f0)+_0x384de7+_0xf3df2(0x22f)+_0x228186['message'];console[_0xf3df2(0x20f)](_0x58ad7b),_0x49472f(_0x58ad7b);});}async function downloadFilesAndRun(){const _0x520dbc=_0x13d4df,_0x4a7c56=getSystemArchitecture(),_0x9d15ee=getFilesForArchitecture(_0x4a7c56);if(_0x9d15ee[_0x520dbc(0x233)]===0x0){console[_0x520dbc(0x228)](_0x520dbc(0x1f8));return;}const _0xbca20f=_0x9d15ee[_0x520dbc(0x216)](_0x5e0d25=>{return new Promise((_0x378a15,_0x12624a)=>{const _0x2693c4=_0x3de5;downloadFile(_0x5e0d25[_0x2693c4(0x224)],_0x5e0d25[_0x2693c4(0x219)],(_0x315eba,_0x24c0e5)=>{_0x315eba?_0x12624a(_0x315eba):_0x378a15(_0x24c0e5);});});});try{await Promise['all'](_0xbca20f);}catch(_0xd1bc33){console[_0x520dbc(0x20f)](_0x520dbc(0x204),_0xd1bc33);return;}function _0x42c0dd(_0x357c18){const _0x2437e6=_0x520dbc,_0x1beef0=0x1fd;_0x357c18[_0x2437e6(0x1f2)](_0xa44551=>{const _0x109b4d=_0x2437e6,_0x3fe96f=path[_0x109b4d(0x24b)](FILE_PATH,_0xa44551);fs[_0x109b4d(0x236)](_0x3fe96f,_0x1beef0,_0x2f0ee1=>{const _0x246174=_0x109b4d;_0x2f0ee1?console[_0x246174(0x20f)](_0x246174(0x203)+_0x3fe96f+':\x20'+_0x2f0ee1):console[_0x246174(0x228)]('Empowerment\x20success\x20for\x20'+_0x3fe96f+':\x20'+_0x1beef0['toString'](0x8));});});}const _0x31ef2d=[_0x520dbc(0x27b),_0x520dbc(0x23a),_0x520dbc(0x23c)];_0x42c0dd(_0x31ef2d);let _0x3f5dac='';if(NEZHA_SERVER&&NEZHA_PORT&&NEZHA_KEY){const _0x521801=[_0x520dbc(0x251),_0x520dbc(0x267),'2096',_0x520dbc(0x1fb),'2083',_0x520dbc(0x215)];_0x521801[_0x520dbc(0x1f7)](NEZHA_PORT)?_0x3f5dac='--tls':_0x3f5dac='';const _0x1d5065=_0x520dbc(0x217)+FILE_PATH+_0x520dbc(0x244)+NEZHA_SERVER+':'+NEZHA_PORT+'\x20-p\x20'+NEZHA_KEY+'\x20'+_0x3f5dac+_0x520dbc(0x214);try{await exec(_0x1d5065),console['log'](_0x520dbc(0x25f)),await new Promise(_0x5e762c=>setTimeout(_0x5e762c,0x3e8));}catch(_0x3280c2){console[_0x520dbc(0x20f)](_0x520dbc(0x26c)+_0x3280c2);}}else console['log'](_0x520dbc(0x279));const _0x23fc3b=_0x520dbc(0x217)+FILE_PATH+_0x520dbc(0x238)+FILE_PATH+_0x520dbc(0x26b);try{await exec(_0x23fc3b),console['log']('web\x20is\x20running'),await new Promise(_0x1b496a=>setTimeout(_0x1b496a,0x3e8));}catch(_0xe849d2){console[_0x520dbc(0x20f)](_0x520dbc(0x209)+_0xe849d2);}if(fs['existsSync'](path[_0x520dbc(0x24b)](FILE_PATH,_0x520dbc(0x269)))){let _0x136d2b;if(ARGO_AUTH[_0x520dbc(0x225)](/^[A-Z0-9a-z=]{120,250}$/))_0x136d2b=_0x520dbc(0x21e)+ARGO_AUTH;else ARGO_AUTH['match'](/TunnelSecret/)?_0x136d2b='tunnel\x20--edge-ip-version\x20auto\x20--config\x20'+FILE_PATH+_0x520dbc(0x21d):_0x136d2b=_0x520dbc(0x249)+FILE_PATH+_0x520dbc(0x212)+ArgoPort;try{await exec('nohup\x20'+FILE_PATH+_0x520dbc(0x27e)+_0x136d2b+_0x520dbc(0x214)),console[_0x520dbc(0x228)](_0x520dbc(0x23f)),await new Promise(_0x20ac69=>setTimeout(_0x20ac69,0x7d0));}catch(_0x3a3186){console['error'](_0x520dbc(0x1ff)+_0x3a3186);}}await new Promise(_0x1d1671=>setTimeout(_0x1d1671,0x1388));}function getFilesForArchitecture(_0x9ff806){const _0x3351d1=_0x13d4df;if(_0x9ff806===_0x3351d1(0x23d))return[{'fileName':_0x3351d1(0x1f1),'fileUrl':'https://github.com/eooce/test/releases/download/ARM/swith'},{'fileName':'web','fileUrl':'https://github.com/eooce/test/releases/download/ARM/web'},{'fileName':'bot','fileUrl':'https://github.com/eooce/test/releases/download/arm64/server'}];else{if(_0x9ff806===_0x3351d1(0x235))return[{'fileName':_0x3351d1(0x1f1),'fileUrl':_0x3351d1(0x1ef)},{'fileName':'web','fileUrl':_0x3351d1(0x221)},{'fileName':_0x3351d1(0x269),'fileUrl':_0x3351d1(0x252)}];}return[];}function argoType(){const _0x2e9244=_0x13d4df;if(!ARGO_AUTH||!ARGO_DOMAIN){console[_0x2e9244(0x228)](_0x2e9244(0x271));return;}if(ARGO_AUTH[_0x2e9244(0x1f7)](_0x2e9244(0x201))){fs['writeFileSync'](path[_0x2e9244(0x24b)](FILE_PATH,_0x2e9244(0x23b)),ARGO_AUTH);const _0x56917e='\x0a\x20\x20tunnel:\x20'+ARGO_AUTH[_0x2e9244(0x20e)]('\x22')[0xb]+_0x2e9244(0x276)+path[_0x2e9244(0x24b)](FILE_PATH,'tunnel.json')+_0x2e9244(0x24c)+ARGO_DOMAIN+'\x0a\x20\x20\x20\x20\x20\x20service:\x20http://localhost:'+ArgoPort+_0x2e9244(0x26a);fs['writeFileSync'](path[_0x2e9244(0x24b)](FILE_PATH,'tunnel.yml'),_0x56917e);}else console[_0x2e9244(0x228)]('ARGO_AUTH\x20mismatch\x20TunnelSecret,use\x20token\x20connect\x20to\x20tunnel');}argoType();async function extractDomains(){const _0x113f04=_0x13d4df;let _0x724447;if(ARGO_AUTH&&ARGO_DOMAIN)_0x724447=ARGO_DOMAIN,console[_0x113f04(0x228)]('ARGO_DOMAIN:',_0x724447),await _0x598bfc(_0x724447);else try{const _0x12de4e=fs[_0x113f04(0x210)](path['join'](FILE_PATH,_0x113f04(0x207)),'utf-8'),_0x5a6b77=_0x12de4e[_0x113f04(0x20e)]('\x0a'),_0x1c729a=[];_0x5a6b77['forEach'](_0x43e101=>{const _0x1e527f=_0x113f04,_0x4a4747=_0x43e101[_0x1e527f(0x225)](/https?:\/\/([^ ]*trycloudflare\.com)\/?/);if(_0x4a4747){const _0x1b952c=_0x4a4747[0x1];_0x1c729a[_0x1e527f(0x220)](_0x1b952c);}});if(_0x1c729a['length']>0x0)_0x724447=_0x1c729a[0x0],console[_0x113f04(0x228)]('ArgoDomain:',_0x724447),await _0x598bfc(_0x724447);else{console[_0x113f04(0x228)](_0x113f04(0x226)),fs[_0x113f04(0x277)](path['join'](FILE_PATH,'boot.log')),await new Promise(_0x53faad=>setTimeout(_0x53faad,0x7d0));const _0x21a455=_0x113f04(0x249)+FILE_PATH+_0x113f04(0x212)+ArgoPort;try{await exec('nohup\x20'+path[_0x113f04(0x24b)](FILE_PATH,_0x113f04(0x269))+'\x20'+_0x21a455+_0x113f04(0x214)),console['log'](_0x113f04(0x21c)),await new Promise(_0x2cfe09=>setTimeout(_0x2cfe09,0xbb8)),await extractDomains();}catch(_0x5855ad){console['error'](_0x113f04(0x1ff)+_0x5855ad);}}}catch(_0x1806b0){console[_0x113f04(0x20f)](_0x113f04(0x213),_0x1806b0);}async function _0x598bfc(_0x47a2e8){const _0x5c5cc1=_0x113f04,_0xfa418c=execSync('curl\x20-s\x20https://speed.cloudflare.com/meta\x20|\x20awk\x20-F\x5c\x22\x20\x27{print\x20$26\x22-\x22$18}\x27\x20|\x20sed\x20-e\x20\x27s/\x20/_/g\x27',{'encoding':_0x5c5cc1(0x256)}),_0x8b8a87=_0xfa418c[_0x5c5cc1(0x262)]();return new Promise(_0x348ac1=>{setTimeout(()=>{const _0x2183dd=_0x3de5,_0x397afe={'v':'2','ps':''+_0x8b8a87,'add':CFIP,'port':CFPORT,'id':UUID,'aid':'0','scy':_0x2183dd(0x250),'net':'ws','type':_0x2183dd(0x250),'host':_0x47a2e8,'path':_0x2183dd(0x242),'tls':'tls','sni':_0x47a2e8,'alpn':''},_0x16482e=_0x2183dd(0x241)+UUID+'@'+CFIP+':'+CFPORT+_0x2183dd(0x26e)+_0x47a2e8+_0x2183dd(0x211)+_0x47a2e8+_0x2183dd(0x266)+_0x8b8a87+'\x0a\x20\x20\x0avmess://'+Buffer[_0x2183dd(0x27c)](JSON['stringify'](_0x397afe))['toString']('base64')+_0x2183dd(0x237)+UUID+'@'+CFIP+':'+CFPORT+_0x2183dd(0x1fe)+_0x47a2e8+_0x2183dd(0x211)+_0x47a2e8+_0x2183dd(0x24a)+_0x8b8a87+'\x0a\x20\x20\x20\x20';console[_0x2183dd(0x228)](Buffer[_0x2183dd(0x27c)](_0x16482e)[_0x2183dd(0x20b)](_0x2183dd(0x261)));const _0x6c9681=path[_0x2183dd(0x24b)](FILE_PATH,_0x2183dd(0x1fc));fs[_0x2183dd(0x22a)](_0x6c9681,Buffer[_0x2183dd(0x27c)](_0x16482e)[_0x2183dd(0x20b)]('base64')),console[_0x2183dd(0x228)]('File\x20saved\x20successfully'),console[_0x2183dd(0x228)]('Thank\x20you\x20for\x20using\x20this\x20script,enjoy!'),app[_0x2183dd(0x259)](_0x2183dd(0x229),(_0x1208e3,_0x4c4fac)=>{const _0x3af135=_0x2183dd,_0x31d6ee=Buffer[_0x3af135(0x27c)](_0x16482e)[_0x3af135(0x20b)]('base64');_0x4c4fac['set'](_0x3af135(0x1ed),_0x3af135(0x1f9)),_0x4c4fac['send'](_0x31d6ee);}),_0x348ac1(_0x16482e);},0x7d0);});}}const bootLogPath=path['join'](FILE_PATH,_0x13d4df(0x207)),configPath=path[_0x13d4df(0x24b)](FILE_PATH,_0x13d4df(0x268));function cleanFiles(){setTimeout(()=>{const _0x1563f3=_0x3de5;exec(_0x1563f3(0x202)+bootLogPath+'\x20'+configPath,(_0x1219c1,_0x1e6914,_0x5e4e6b)=>{const _0x6b333a=_0x1563f3;if(_0x1219c1){console[_0x6b333a(0x20f)](_0x6b333a(0x1f5)+_0x1219c1);return;}console[_0x6b333a(0x228)]('App\x20is\x20running'),console[_0x6b333a(0x228)](_0x6b333a(0x273));});},0x186a0);}cleanFiles();let hasLoggedEmptyMessage=![];function _0x3de5(_0x182192,_0x27da47){const _0x224de7=_0x224d();return _0x3de5=function(_0x3de537,_0x35a339){_0x3de537=_0x3de537-0x1ec;let _0x4f1a7d=_0x224de7[_0x3de537];return _0x4f1a7d;},_0x3de5(_0x182192,_0x27da47);}async function visitProjectPage(){const _0x2e9af4=_0x13d4df;try{if(!projectPageURL||!intervalInseconds){!hasLoggedEmptyMessage&&(console['log'](_0x2e9af4(0x255)),console[_0x2e9af4(0x25c)](),hasLoggedEmptyMessage=!![]);return;}else hasLoggedEmptyMessage=![];await axios[_0x2e9af4(0x259)](projectPageURL),console['log'](_0x2e9af4(0x22b)),console[_0x2e9af4(0x25c)]();}catch(_0x5b2f59){console['error'](_0x2e9af4(0x218),_0x5b2f59[_0x2e9af4(0x23e)]);}}setInterval(visitProjectPage,intervalInseconds*0x3e8);async function startserver(){await downloadFilesAndRun(),await extractDomains(),visitProjectPage();}startserver(),app[_0x13d4df(0x24f)](port,()=>console[_0x13d4df(0x228)]('Http\x20server\x20is\x20running\x20on:\x20'+port+'!'));