-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
1 lines (1 loc) · 2.03 KB
/
main.js
File metadata and controls
1 lines (1 loc) · 2.03 KB
1
function _0x1abf(_0x4c20a9,_0x4972ea){const _0x32caa1=_0x32ca();return _0x1abf=function(_0x1abf58,_0x224feb){_0x1abf58=_0x1abf58-0x181;let _0x5cd079=_0x32caa1[_0x1abf58];return _0x5cd079;},_0x1abf(_0x4c20a9,_0x4972ea);}const _0x25fca3=_0x1abf;function _0x32ca(){const _0x37d0ab=['49874dYijLH','9Yxzbym','log','slice','81272ydCvWA','exit','reset','Exited\x20with\x20code:','ipc','child_process','15035ngmjuo','path','335132jQLlgc','join','Restarting\x20Bot...','inherit','message','1770904FiOKSZ','18TRedZE','kill','50bRFlay','argv','252BfeQxG','1316581fCXqIv','60220BvZNCO','connect.js'];_0x32ca=function(){return _0x37d0ab;};return _0x32ca();}(function(_0x43ad4e,_0x17aeac){const _0x17f7f9=_0x1abf,_0x2c46f1=_0x43ad4e();while(!![]){try{const _0x8ed23=-parseInt(_0x17f7f9(0x197))/0x1+-parseInt(_0x17f7f9(0x183))/0x2*(-parseInt(_0x17f7f9(0x191))/0x3)+-parseInt(_0x17f7f9(0x18b))/0x4+parseInt(_0x17f7f9(0x189))/0x5*(parseInt(_0x17f7f9(0x195))/0x6)+parseInt(_0x17f7f9(0x196))/0x7+-parseInt(_0x17f7f9(0x190))/0x8*(parseInt(_0x17f7f9(0x19a))/0x9)+-parseInt(_0x17f7f9(0x193))/0xa*(-parseInt(_0x17f7f9(0x199))/0xb);if(_0x8ed23===_0x17aeac)break;else _0x2c46f1['push'](_0x2c46f1['shift']());}catch(_0x52f780){_0x2c46f1['push'](_0x2c46f1['shift']());}}}(_0x32ca,0x349c9));const {spawn}=require(_0x25fca3(0x188)),path=require(_0x25fca3(0x18a));function start(){const _0x1a0288=_0x25fca3;let _0x1e68f1=[path[_0x1a0288(0x18c)](__dirname,_0x1a0288(0x198)),...process['argv'][_0x1a0288(0x182)](0x2)];console[_0x1a0288(0x181)]([process[_0x1a0288(0x194)][0x0],..._0x1e68f1]['join']('\x0a'));let _0x3d5f6d=spawn(process[_0x1a0288(0x194)][0x0],_0x1e68f1,{'stdio':[_0x1a0288(0x18e),_0x1a0288(0x18e),_0x1a0288(0x18e),_0x1a0288(0x187)]})['on'](_0x1a0288(0x18f),_0x3f8687=>{const _0x2d29c6=_0x1a0288;_0x3f8687==_0x2d29c6(0x185)&&(console['log'](_0x2d29c6(0x18d)),_0x3d5f6d[_0x2d29c6(0x192)](),start(),delete _0x3d5f6d);})['on'](_0x1a0288(0x184),_0x2d1812=>{const _0x504893=_0x1a0288;console['error'](_0x504893(0x186),_0x2d1812);if(_0x2d1812=='.'||_0x2d1812==0x1||_0x2d1812==0x0)start();});}start();