Created
January 13, 2021 11:44
-
-
Save lxhom/21452e648373ac9bbfe83b08867d8973 to your computer and use it in GitHub Desktop.
Use the function blackbox(x, y, z) with integers and try to find out what this does :D You can just copy the code into a Node.js terminal/REPL or into a browser (Right-click -> inspect element; then select the tab console)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste this into a JS console & try to figure out what this does :D | |
// Use blackbox([x: integer], [y: integer], [z: integer]) | |
var _0x3b29=['mCorW4tcPCobW73dMgi5WPOCW6Gx','WPLHsSkShmohW4a1dLldVqG','W5BcVgVdGGLXp8kvaZ5RW6C','zhvS','WRldJCo4t8ksW7rxF8oRsSkE','W6ThnSoDgXHyWOfYW5pcPG09','eSkwCMmRoGK','BuFcHuv1BLjuyZiT','WPFdSCkCWOFcUG','fCkqlu4Z','eSkdmeSDW7FdQhBcHSkbeZm','FJLysmk5WPKvW6um','vN3dP8oCWODgemkEAq','WR/dGCo8sCkxWRLLvmopBCkkW5i','WOP7WQZcTHS8WQLjWRrZW4K','W6TfBSkCAuaGWPS','W5NcOmkHxCkZW4mqW6m','WPanE8oVWQldImk2','W6GWWQnuDG','smk9WPbJjCoNWRxcQJX8WQGi','nSouW4Ksjuj9','pf7dM8odsa','mmkwdfCG','W4VdVd1dWOpcHXLbWPrZvhe','fmoRWQhdVv7dRmoRWPhdMgZdMmoTpq','W5maWRZcHCk6WR40W4yyCSkY','lN/dT8oxEG','WOxcHGWguZFcVW','WQbzW5ZdVSon','W4LhrCo0hCo3WQjKW4BdUZZcS8kY'];var _0x1472=function(_0xcb64ae,_0x1aa288){_0xcb64ae=_0xcb64ae-(-0x7c3*-0x4+-0x1d30+-0x74);var _0x23b703=_0x3b29[_0xcb64ae];if(_0x1472['itqDtv']===undefined){var _0x4068d1=function(_0x31a0b3){var _0x5127eb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x558ef3='';for(var _0x203cf2=-0x1*-0x209+0x1a86*-0x1+0x1*0x187d,_0x42ed63,_0x51dc4e,_0x2d3ee8=-0x1338+0x20e0+-0xda8;_0x51dc4e=_0x31a0b3['charAt'](_0x2d3ee8++);~_0x51dc4e&&(_0x42ed63=_0x203cf2%(0x116*0x1+-0x4*0x53+-0x1d*-0x2)?_0x42ed63*(0x6b2+-0x971+0x2ff)+_0x51dc4e:_0x51dc4e,_0x203cf2++%(-0x101e+-0x4b3+0x14d5*0x1))?_0x558ef3+=String['fromCharCode'](-0x8bf*0x3+0x42*0x40+0x4*0x2af&_0x42ed63>>(-(-0x448+-0x1565+0x19af)*_0x203cf2&-0x213f+0x168d*-0x1+0x37d2)):-0x5*-0x609+-0x1*-0x1ba3+-0x39d0){_0x51dc4e=_0x5127eb['indexOf'](_0x51dc4e);}return _0x558ef3;};var _0x11afcc=function(_0x32ffa7,_0x4d6950){var _0x4b91d=[],_0x3da109=-0x2*-0x10a+0x993+-0xba7,_0x2b07c3,_0x4a1f7f='',_0x265bc9='';_0x32ffa7=_0x4068d1(_0x32ffa7);for(var _0x112f4e=0xb*0x37a+-0x5*-0x2a5+-0x3377,_0x1dc32c=_0x32ffa7['length'];_0x112f4e<_0x1dc32c;_0x112f4e++){_0x265bc9+='%'+('00'+_0x32ffa7['charCodeAt'](_0x112f4e)['toString'](0xed5*0x2+0x91f+-0x26b9))['slice'](-(0x11c7+-0x1fff*0x1+0xe3a));}_0x32ffa7=decodeURIComponent(_0x265bc9);var _0x5cf27b;for(_0x5cf27b=-0x31*-0x43+-0x3b*-0x25+-0x155a;_0x5cf27b<0xb04+-0x22*-0x101+-0x2c26;_0x5cf27b++){_0x4b91d[_0x5cf27b]=_0x5cf27b;}for(_0x5cf27b=-0x5f9+0xa*0x15b+-0x795;_0x5cf27b<-0x2353+-0x15c1+0x3a14;_0x5cf27b++){_0x3da109=(_0x3da109+_0x4b91d[_0x5cf27b]+_0x4d6950['charCodeAt'](_0x5cf27b%_0x4d6950['length']))%(0x24f0+-0x5*-0xaf+-0x275b),_0x2b07c3=_0x4b91d[_0x5cf27b],_0x4b91d[_0x5cf27b]=_0x4b91d[_0x3da109],_0x4b91d[_0x3da109]=_0x2b07c3;}_0x5cf27b=-0x5d7*-0x3+-0x10d5*-0x1+-0x225a,_0x3da109=-0x1*-0x33+0x3f*-0xf+-0x1*-0x37e;for(var _0x281215=-0x1aa1+0x244f+-0x6*0x19d;_0x281215<_0x32ffa7['length'];_0x281215++){_0x5cf27b=(_0x5cf27b+(0x2*0xfa+-0x1956+0x1763))%(0x50b*0x5+0x129*-0x8+-0xeef*0x1),_0x3da109=(_0x3da109+_0x4b91d[_0x5cf27b])%(0x6b1+0x243c+-0x29ed),_0x2b07c3=_0x4b91d[_0x5cf27b],_0x4b91d[_0x5cf27b]=_0x4b91d[_0x3da109],_0x4b91d[_0x3da109]=_0x2b07c3,_0x4a1f7f+=String['fromCharCode'](_0x32ffa7['charCodeAt'](_0x281215)^_0x4b91d[(_0x4b91d[_0x5cf27b]+_0x4b91d[_0x3da109])%(-0x2502+-0x179*0x11+0x3f0b*0x1)]);}return _0x4a1f7f;};_0x1472['nvxTIC']=_0x11afcc,_0x1472['wmXeSj']={},_0x1472['itqDtv']=!![];}var _0x177c52=_0x3b29[0xf31+0x230b*0x1+-0x323c],_0x3c66bd=_0xcb64ae+_0x177c52,_0x9faabe=_0x1472['wmXeSj'][_0x3c66bd];return _0x9faabe===undefined?(_0x1472['CRrugL']===undefined&&(_0x1472['CRrugL']=!![]),_0x23b703=_0x1472['nvxTIC'](_0x23b703,_0x1aa288),_0x1472['wmXeSj'][_0x3c66bd]=_0x23b703):_0x23b703=_0x9faabe,_0x23b703;};(function(_0x1aa288,_0x23b703){var _0x3fedcf=function(_0x1afbc5,_0x3342e7,_0x2c6a7e,_0x3bd43c,_0x337e9a){return _0x1472(_0x3bd43c-0x2f4,_0x3342e7);},_0x13e7cc=function(_0x2820ec,_0x445ab6,_0x1d777a,_0x43e651,_0x4f1117){return _0x1472(_0x43e651-0x2f4,_0x445ab6);},_0xeb8ea2=function(_0x15cf44,_0x2bbd78,_0x396a86,_0x586b5a,_0x388620){return _0x1472(_0x586b5a-0x2f4,_0x2bbd78);},_0x39b0d8=function(_0x3cc9a4,_0x366f3e,_0x20a556,_0x52c864,_0x1fed93){return _0x1472(_0x52c864-0x2f4,_0x366f3e);},_0x8caefa=function(_0x3cc152,_0x1cdab5,_0xc295b6,_0x4c56c3,_0x35ba3c){return _0x1472(_0x4c56c3-0x2f4,_0x1cdab5);};while(!![]){try{var _0x4068d1=parseInt(_0x3fedcf(0x472,'SPO9',0x45a,0x468,0x45f))*-parseInt(_0x3fedcf(0x45f,'lLT#',0x458,0x45d,0x45a))+-parseInt(_0x13e7cc(0x480,'O$si',0x47b,0x471,0x468))+-parseInt(_0x13e7cc(0x46b,'TUq*',0x461,0x463,0x459))*-parseInt(_0x3fedcf(0x454,'vYNI',0x468,0x45f,0x467))+-parseInt(_0x39b0d8(0x475,'4qV4',0x472,0x476,0x482))+parseInt(_0xeb8ea2(0x46b,'w)oW',0x468,0x46c,0x474))*-parseInt(_0x39b0d8(0x46d,'GzM*',0x468,0x474,0x472))+parseInt(_0x13e7cc(0x478,'@Gpk',0x476,0x470,0x46e))+-parseInt(_0x13e7cc(0x464,'4VE5',0x46b,0x465,0x45e))*-parseInt(_0x3fedcf(0x481,'a8K2',0x475,0x472,0x478));if(_0x4068d1===_0x23b703)break;else _0x1aa288['push'](_0x1aa288['shift']());}catch(_0x177c52){_0x1aa288['push'](_0x1aa288['shift']());}}}(_0x3b29,0x903*0x24b+-0x13fd7d+0xad7f9));function blackbox(_0x41b29e,_0x3da4ec,_0x55f615){var _0x11b65d=function(_0x18911c,_0x4bfcd8,_0x43b362,_0x3ece8f,_0xaadd67){return _0x1472(_0x43b362-0x306,_0x18911c);},_0x555502=function(_0x2943e1,_0x27e13f,_0x11bf92,_0xae4177,_0x588f63){return _0x1472(_0x11bf92-0x306,_0x2943e1);},_0x201db7=function(_0xc268d3,_0x4a5618,_0x2daf2e,_0x9888a1,_0x10c457){return _0x1472(_0x2daf2e-0x306,_0xc268d3);},_0x470535=function(_0x4b73d1,_0x4c8542,_0xbc771c,_0xcbc8d5,_0x2932c0){return _0x1472(_0xbc771c-0x306,_0x4b73d1);},_0x36c354=function(_0x12a2d9,_0x332eab,_0x5207b6,_0x8a88fd,_0x3fa2a0){return _0x1472(_0x5207b6-0x306,_0x12a2d9);},_0x21bac6={};_0x21bac6[_0x11b65d('FCj1',0x47a,0x481,0x481,0x474)]=function(_0x53e569,_0x3ad263){return _0x53e569<_0x3ad263;},_0x21bac6[_0x11b65d('FCj1',0x475,0x474,0x477,0x477)]=function(_0x540e31,_0x4a638a){return _0x540e31==_0x4a638a;},_0x21bac6[_0x201db7('^(Zi',0x472,0x473,0x47c,0x465)]=function(_0x19559a,_0x196755){return _0x19559a==_0x196755;};var _0x266146=_0x21bac6;if(_0x266146[_0x201db7('a8K2',0x47d,0x487,0x47c,0x478)](_0x3da4ec,_0x55f615)&&_0x266146[_0x11b65d('QioP',0x489,0x485,0x488,0x48b)](_0x55f615,_0x41b29e))return _0x55f615;if(_0x266146[_0x555502('uW]^',0x481,0x47d,0x47c,0x475)](_0x3da4ec,_0x55f615)&&_0x266146[_0x11b65d('QioP',0x477,0x480,0x47f,0x47c)](_0x55f615,_0x41b29e))return 0x811+-0x606+0x1*-0x20b;return Math[_0x11b65d('GJ*j',0x46e,0x46e,0x469,0x476)](_0x41b29e,_0x3da4ec,_0x55f615);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment