@bastion/tesseract
Version:
The heart and soul of the Bastion bot.
1 lines • 2.22 kB
JavaScript
(function(_0x378a8c,_0x2e2d35){const _0x274753=a21_0x52fd,_0x38ff4a=_0x378a8c();while(!![]){try{const _0x4fe308=-parseInt(_0x274753(0x140))/0x1+parseInt(_0x274753(0x139))/0x2+parseInt(_0x274753(0x146))/0x3+parseInt(_0x274753(0x147))/0x4*(-parseInt(_0x274753(0x13c))/0x5)+-parseInt(_0x274753(0x13a))/0x6+-parseInt(_0x274753(0x145))/0x7*(-parseInt(_0x274753(0x13f))/0x8)+-parseInt(_0x274753(0x138))/0x9*(-parseInt(_0x274753(0x143))/0xa);if(_0x4fe308===_0x2e2d35)break;else _0x38ff4a['push'](_0x38ff4a['shift']());}catch(_0x51c7c6){_0x38ff4a['push'](_0x38ff4a['shift']());}}}(a21_0x219e,0x4cfe6));function a21_0x219e(){const _0x57f654=['readdirSync','10kqtlym','search','push','6416LqWbYz','271459KBzJps','(((.+)+)+)+$','isDirectory','2000890ANCgjg','statSync','469GGrzZm','1182249WyxRoW','433872PgGEhq','join','toString','constructor','27sVNYiF','202380jDyWbH','2073078KOWDSM'];a21_0x219e=function(){return _0x57f654;};return a21_0x219e();}const a21_0x3c2c59=(function(){let _0x24f6b2=!![];return function(_0x1ddaa0,_0x5bb643){const _0x47b5ff=_0x24f6b2?function(){if(_0x5bb643){const _0x4a8d06=_0x5bb643['apply'](_0x1ddaa0,arguments);return _0x5bb643=null,_0x4a8d06;}}:function(){};return _0x24f6b2=![],_0x47b5ff;};}()),a21_0x572c80=a21_0x3c2c59(this,function(){const _0x1f2dad=a21_0x52fd;return a21_0x572c80[_0x1f2dad(0x149)]()[_0x1f2dad(0x13d)](_0x1f2dad(0x141))[_0x1f2dad(0x149)]()[_0x1f2dad(0x14a)](a21_0x572c80)[_0x1f2dad(0x13d)](_0x1f2dad(0x141));});a21_0x572c80();import a21_0x2621cc from'node:fs';import a21_0x485fd8 from'node:path';function a21_0x52fd(_0x24393d,_0x82a86a){const _0x27d071=a21_0x219e();return a21_0x52fd=function(_0x572c80,_0x3c2c59){_0x572c80=_0x572c80-0x138;let _0x219e24=_0x27d071[_0x572c80];return _0x219e24;},a21_0x52fd(_0x24393d,_0x82a86a);}const walkDirectory=_0x3d3542=>{const _0x24e7df=[];return function _0x268e32(_0xdc4e79){const _0xa225fb=a21_0x52fd,_0x274906=a21_0x2621cc[_0xa225fb(0x13b)](_0xdc4e79);for(const _0x1c8a1a of _0x274906){const _0x498e76=a21_0x485fd8[_0xa225fb(0x148)](_0xdc4e79,_0x1c8a1a);if(a21_0x2621cc[_0xa225fb(0x144)](_0x498e76)[_0xa225fb(0x142)]())_0x268e32(_0x498e76);else _0x24e7df[_0xa225fb(0x13e)](_0x498e76);}}(_0x3d3542),_0x24e7df;};export default walkDirectory;