relative / synchrony

javascript-obfuscator cleaner & deobfuscator
https://deobfuscate.relative.im/
GNU General Public License v3.0
849 stars 109 forks source link

Not working for this type of obfuscateion! #14

Closed softwebtuts closed 2 years ago

softwebtuts commented 2 years ago

I am having a js code obfuscated in a different type which isn't supported in this tool. Look at this code here

beshoo commented 2 years ago

Dear @relative, What is your advice to decode the same type of this obfuscateion https://www.nike.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js

relative commented 2 years ago

Dear @relative, What is your advice to decode the same type of this obfuscateion https://www.nike.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js

fixed in https://github.com/relative/synchrony/releases/tag/2.1.4, update synchrony with npm install --global deobfuscator@2.1.4 and try again

beshoo commented 2 years ago

Dear @relative, What is your advice to decode the same type of this obfuscateion https://www.nike.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js

fixed in https://github.com/relative/synchrony/releases/tag/2.1.4, update synchrony with npm install --global deobfuscator@2.1.4 and try again

Thank you for your kind reply I have this log


D:\xampp\htdocs\move\test\akamai-deobfuscator-master>synchrony deobfuscate ./script.txt
Running Simplify transformer
Running MemberExpressionCleaner transformer
Running LiteralMap transformer
Running StringDecoder transformer
Found decoder function _0x49cf offset = -175 type = 1
Found string array at _0x24f6 # 115
Found func ref id = _0x39a740 offset = -988 index = 1 key = 3 parent = _0x49cf
Found func ref id = _0x4c35a8 offset = -220 index = 1 key = 2 parent = _0x49cf
Found func ref id = _0x23bc57 offset = -995 index = 2 key = 1 parent = _0x49cf
Found func ref id = _0x5b2982 offset = -540 index = 3 key = 0 parent = _0x49cf
Found func ref id = _0xe4c1d3 offset = 636 index = 3 key = 0 parent = _0x23bc57
Found func ref id = _0x197cb8 offset = 410 index = 1 key = 0 parent = _0x49cf
Found func ref id = _0x276428 offset = -897 index = 2 key = 1 parent = _0x49cf
Found func ref id = _0x23ce32 offset = 1175 index = 1 key = 2 parent = _0xe4c1d3
Found func ref id = _0x21a6ca offset = -462 index = 3 key = 1 parent = _0x49cf
Found func ref id = _0x57a1e8 offset = 891 index = 3 key = 0 parent = _0xe4c1d3
Found func ref id = _0xc65240 offset = 1403 index = 3 key = 2 parent = _0x23bc57
Found func ref id = _0xd26c95 offset = 903 index = 2 key = 0 parent = _0x49cf
Found func ref id = _0x191f2f offset = -631 index = 0 key = 3 parent = _0x49cf
Found func ref id = _0x5602d3 offset = -1366 index = 2 key = 1 parent = _0xd26c95
Found func ref id = _0x2f3041 offset = -1348 index = 1 key = 2 parent = _0xd26c95
Found func ref id = _0x2ca01e offset = 337 index = 1 key = 3 parent = _0x49cf
Found func ref id = _0x139ea3 offset = -238 index = 0 key = 3 parent = _0x49cf
Found func ref id = _0x999e92 offset = 478 index = 1 key = 2 parent = _0x49cf
Found func ref id = _0x3e0cd1 offset = -124 index = 1 key = 3 parent = _0x999e92
Found func ref id = _0x5945c6 offset = -586 index = 0 key = 3 parent = _0x139ea3
Found func ref id = _0x24b8e8 offset = -165 index = 3 key = 1 parent = _0x3e0cd1
Found func ref id = _0xeb4a2e offset = 924 index = 2 key = 0 parent = _0x5945c6
Found func ref id = _0x18021a offset = -1047 index = 1 key = 0 parent = _0x24b8e8
Found func ref id = _0x1a636f offset = 53 index = 2 key = 0 parent = _0xeb4a2e
Found func ref id = _0x11ea23 offset = -727 index = 2 key = 1 parent = _0x49cf
Found func ref id = _0x1b61c1 offset = 126 index = 2 key = 3 parent = _0x11ea23
Found func ref id = _0x19825d offset = 230 index = 2 key = 0 parent = _0x49cf
Found func ref id = _0xffbff6 offset = 324 index = 1 key = 0 parent = _0x49cf
Searching for more function references
Found push/shift IIFE breakCond = 629338
Running Simplify transformer
Running MemberExpressionCleaner transformer
Running Desequence transformer
Running ControlFlow transformer
_0x439ecf.ZPTVC = Literal
_0x439ecf.bIUny = Literal
_0x466212.PzBpY = Literal
_0x466212.EeTKp = Literal
_0x3624ed.gQQbx = FunctionExpression
_0x3624ed.tUDop = Literal
_0x3624ed.lLrWg = Literal
_0x3624ed.mpoQn = MemberExpression
_0x3624ed.DpinR = Literal
_0x583b0e.hziWB = Literal
_0x583b0e.eojGI = Literal
_0x583b0e.LieXQ = Literal
_0x4facf1.COIis = Literal
_0x4facf1.rWvxm = FunctionExpression
_0x4facf1.SwPgg = Literal
_0x4facf1.MTmQh = Literal
_0x4facf1.fDMUu = Literal
_0x4facf1.kIqua = Literal
_0x4facf1.xEmig = Literal
_0x4facf1.JnhNb = Literal
_0x4facf1.apTLL = Literal
_0x4facf1.VULbZ = Literal
_0x4facf1.dqAUP = FunctionExpression
_0x4facf1.gHxtA = Literal
Found control flow node id = _0x5f192b #fn = 3 #lit = 2
Found control flow node id = _0x5f0c78 #fn = 5 #lit = 9
Found control flow node id = _0x2061a5 #fn = 3 #lit = 9
Found control flow node id = _0x439ecf #fn = 0 #lit = 2
Found control flow node id = _0x466212 #fn = 0 #lit = 2
Found control flow node id = _0x583b0e #fn = 0 #lit = 3
Found control flow node id = _0x3624ed #fn = 1 #lit = 4
Found control flow node id = _0x4facf1 #fn = 2 #lit = 10
Found flattened control flow arr = [ '2', '0', '4', '3', '5', '1' ] idx = 0
Found flattened control flow arr = [ '3', '0', '1', '2', '5', '4' ] idx = 0
Running Desequence transformer
Running MemberExpressionCleaner transformer
Running Simplify transformer
Running DeadCode transformer
C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:2509
        result = this[stmt.type](stmt, flags);
                           ^

TypeError: Cannot read properties of undefined (reading 'type')
    at CodeGenerator.generateStatement (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:2509:28)
    at block (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:1466:38)
    at CodeGenerator.VariableDeclaration (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:1484:17)
    at CodeGenerator.generateStatement (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:2509:33)
    at C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:1076:51
    at withIndent (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:577:9)
    at CodeGenerator.BlockStatement (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:1026:13)
    at CodeGenerator.generateStatement (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:2509:33)
    at CodeGenerator.maybeBlock (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:832:33)
    at CodeGenerator.ForStatement (C:\Users\beshoo\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\escodegen\escodegen.js:1672:30)

the code:

```js var _0x404f=['D2fYBG','ndzlz2Djywq','mNW1Fdn8mxW0Fa','DgvZDa','s0PTvei','kYb0AgLZicSGiG','zJm2otbKyJqTzG','AeDIz1G','AfHnt1e','lM5LDc9UCg0Vqa','ntC4nZvZugn3zeS','yNvbzKi','uM1Lrxq','E30Uy29UC3rYDq','A1nLwwG','otbKyJqTzMy5oq','tNDszgLvCw82nq','EvzJsgq','vxztvwC','B1LcC3K','BI5QC2rLBgL2CG','mtqXodDkqKTly3e','Evv5vha','Cg9ZDe1LC3nHzW','zJK5ltq0zJKTyq','DxDKrfi','C0j5vgfNtMfTzq','AhDjrvO','zgyXlti1nZa2oa','Dwv4Eu0','Dg9tDhjPBMC','mZDSAw91sgm','yMLUza','u2riBgy','BwfIs3K','DhjHy2u','yxbWBhK','xIbDFq','EfvxA2K','zNjHBwvZ','uKHYz0u','vw9Ut3u','mtaYnJyWmxfXDeXJua','v01SsfG','A1PsshG','Ahr0Chm6lY9Jza','CMv0DxjUicHMDq','B1fXExe','Eu5csMS','ltq0zJKTywrMmq','ntHcsNz3q1a','C3bSAxq','mti2','Aw5MBW','ze9rCNi','CLLouw0','BMz6Efm','C2nYAxb0','yxbIzwW','wxbuqwe','y0PrAxy','zxHJzxb0Aw9U','r2nwt1K','lti1nZa2odC4nG','xIHBxIbDkYGGkW','vK5rz1e','CMv0DxjUic8Iia','x19WCM90B19F','zg93','w14GxsSPkYKRwW','sM56zNC','BMn0Aw9UkcKG','ww13EfC','y29UC29Szq','CM4GDgHPCYiPka','C0jmsxa','wMfZsgC','ALvIuKu','ChjVDg90ExbL','sezyEuy','ntCYmdiWzgnUz1Pl','mJeXmZy4EejbAuPM','BgvUz3rO','EhvrEhm','mtmYnJvArejpwgC','weLnyM0','y29UDgvUDfDPBG','zxjYB3i','AKrPy0K','B3n1Ahm','mZm3D2Ttz25x','y29UC3rYDwn0BW','qLfPt2K','Aw5JBhvKzxm','y3rVCIGICMv0Dq','C3jJ','EhjUugu','C0Hhz3C','nZG2mti2'];function _0x12f3(_0x9cddf1,_0x10551f){return _0x12f3=function(_0x41b631,_0x4aa51e){_0x41b631=_0x41b631-(-0x1dfc+0x1*0x17d5+-0xe4*-0x9);var _0x524eef=_0x404f[_0x41b631];if(_0x12f3['ONfSfl']===undefined){var _0x498474=function(_0x241e5d){var _0x5a8597='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1f31a0='',_0x50d64a='';for(var _0x4afb33=0x17*-0x165+0x24d0+0x4bd*-0x1,_0xfe7387,_0xe79f2f,_0xd0caa1=0xbf2+0x12e*0x11+0x4*-0x800;_0xe79f2f=_0x241e5d['charAt'](_0xd0caa1++);~_0xe79f2f&&(_0xfe7387=_0x4afb33%(-0x2533+0x85+0x24b2)?_0xfe7387*(-0x20d7+-0x1cb9+0x1ee8*0x2)+_0xe79f2f:_0xe79f2f,_0x4afb33++%(-0x2*-0x5ba+-0x150*-0x7+-0x210*0xa))?_0x1f31a0+=String['fromCharCode'](-0x36c+-0x29b*-0x2+-0xcb&_0xfe7387>>(-(-0x1c67+0xa3c+0x122d)*_0x4afb33&-0x18fc+-0x1*-0x2215+-0x913)):0xc4b*-0x1+0x9c+0x3*0x3e5){_0xe79f2f=_0x5a8597['indexOf'](_0xe79f2f);}for(var _0x44fce5=-0x1*-0xb3d+0x173e+-0x227b,_0x3b5185=_0x1f31a0['length'];_0x44fce5<_0x3b5185;_0x44fce5++){_0x50d64a+='%'+('00'+_0x1f31a0['charCodeAt'](_0x44fce5)['toString'](0x7*-0x531+0x18ab+0xbbc))['slice'](-(0x115+0x1fec+0x20ff*-0x1));}return decodeURIComponent(_0x50d64a);};_0x12f3['QxaRnZ']=_0x498474,_0x9cddf1=arguments,_0x12f3['ONfSfl']=!![];}var _0x441ac2=_0x404f[-0x1668+-0xe46+0x24ae],_0x3d987f=_0x41b631+_0x441ac2,_0x3d4bd5=_0x9cddf1[_0x3d987f];if(!_0x3d4bd5){var _0x1f4148=function(_0x5ad647){this['RucAMP']=_0x5ad647,this['XobbWz']=[0x47*0x35+-0x232f+0x147d,-0x13cc+0x7b1*-0x1+0x1b7d,0x88*0x42+0x1a56+-0x3d66],this['FGIqWL']=function(){return'newState';},this['kNpYbb']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['cRuOuK']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1f4148['prototype']['jHYpGi']=function(){var _0x42d698=new RegExp(this['kNpYbb']+this['cRuOuK']),_0x15325e=_0x42d698['test'](this['FGIqWL']['toString']())?--this['XobbWz'][-0x15c0+-0x21d0+0x3791]:--this['XobbWz'][-0x2428+0x20bd*-0x1+0x44e5];return this['ApBJPa'](_0x15325e);},_0x1f4148['prototype']['ApBJPa']=function(_0x3efffe){if(!Boolean(~_0x3efffe))return _0x3efffe;return this['EpBGsG'](this['RucAMP']);},_0x1f4148['prototype']['EpBGsG']=function(_0x2eda45){for(var _0x2f6df2=-0x16a9+-0x7*-0x37f+-0x1d0,_0x404549=this['XobbWz']['length'];_0x2f6df2<_0x404549;_0x2f6df2++){this['XobbWz']['push'](Math['round'](Math['random']())),_0x404549=this['XobbWz']['length'];}return _0x2eda45(this['XobbWz'][0x22f1+-0xac1+-0x1830*0x1]);},new _0x1f4148(_0x12f3)['jHYpGi'](),_0x524eef=_0x12f3['QxaRnZ'](_0x524eef),_0x9cddf1[_0x3d987f]=_0x524eef;}else _0x524eef=_0x3d4bd5;return _0x524eef;},_0x12f3(_0x9cddf1,_0x10551f);}(function(_0x4fff0f,_0x1b18e0){function _0x625d28(_0x55f7f5,_0x50cc49,_0x339b71,_0x53b94a){return _0x12f3(_0x53b94a-0x3e2,_0x50cc49);}function _0x200f2a(_0xc0b35,_0x26d2a1,_0x4c80ae,_0x4b3d3){return _0x12f3(_0xc0b35-0xec,_0x26d2a1);}while(!![]){try{var _0x2f831b=-parseInt(_0x625d28(0x5d6,0x5c5,0x5a3,0x5cf))*parseInt(_0x625d28(0x620,0x5e3,0x615,0x5fd))+parseInt(_0x200f2a(0x2f2,0x301,0x2d2,0x2eb))+parseInt(_0x625d28(0x623,0x613,0x604,0x608))+-parseInt(_0x625d28(0x5ad,0x5d2,0x5c7,0x5cb))+-parseInt(_0x625d28(0x5c1,0x5f9,0x5bb,0x5cc))+parseInt(_0x625d28(0x5f7,0x5e2,0x602,0x5f3))*parseInt(_0x625d28(0x61c,0x5e4,0x62e,0x610))+-parseInt(_0x625d28(0x5cc,0x5d1,0x610,0x5df))*parseInt(_0x625d28(0x5dd,0x5e4,0x607,0x5d5));if(_0x2f831b===_0x1b18e0)break;else _0x4fff0f['push'](_0x4fff0f['shift']());}catch(_0x2457ab){_0x4fff0f['push'](_0x4fff0f['shift']());}}}(_0x404f,0x1*-0x11b30d+-0x44*-0x39a7+0xbcf4c));var _0x5c9e9f=function(){function _0x269131(_0x2773d4,_0x488719,_0x2be502,_0x12dc7c){return _0x12f3(_0x12dc7c- -0x12c,_0x488719);}var _0x51d048={'UvSUg':function(_0x49d0d4,_0x3f5f27){return _0x49d0d4(_0x3f5f27);},'GcVOY':_0x5a504f(-0x4,0x3,0x7,-0xc)+_0x269131(0xde,0xa8,0xe1,0xcb)+_0x5a504f(-0x31,-0x24,-0x3a,-0x32)+'\x20)','buAfB':function(_0x359392,_0x23691c){return _0x359392!==_0x23691c;},'FmVKC':_0x5a504f(-0x34,-0xe,-0x14,-0x11)};function _0x5a504f(_0x74bb3b,_0x2c843a,_0x5d54d9,_0x162d0c){return _0x12f3(_0x162d0c- -0x215,_0x5d54d9);}var _0x4bdaab=!![];return function(_0x3db0d9,_0x1e315a){function _0x5eab51(_0x181531,_0x46054e,_0x5e1651,_0x1072f8){return _0x5a504f(_0x181531-0x10a,_0x46054e-0x14a,_0x1072f8,_0x5e1651-0x2ac);}var _0x6caa1b={'YmwxW':function(_0x2f7692,_0x59f8c5){function _0x10b273(_0x41b7b2,_0x3a8c46,_0x574724,_0x45b4d2){return _0x12f3(_0x3a8c46-0x1cc,_0x45b4d2);}return _0x51d048[_0x10b273(0x3b9,0x3da,0x3e8,0x3fe)](_0x2f7692,_0x59f8c5);},'dOQrr':function(_0x10a166,_0x20b7d6){return _0x10a166+_0x20b7d6;},'RHrgE':_0x2d638f(0x5fd,0x603,0x5d9,0x5e9)+_0x2d638f(0x5b3,0x5c9,0x5a1,0x5d9),'uwdDR':_0x51d048[_0x5eab51(0x2b2,0x2c0,0x2d1,0x2ab)]};function _0x2d638f(_0x5846f0,_0x1e63de,_0x3dcb34,_0x16640f){return _0x5a504f(_0x5846f0-0x1db,_0x1e63de-0x16a,_0x16640f,_0x5846f0-0x5e8);}if(_0x51d048[_0x5eab51(0x2cf,0x2bf,0x29e,0x280)](_0x51d048['FmVKC'],_0x2d638f(0x5d3,0x5a1,0x5cb,0x5cd))){var _0x888cbd=_0x4bdaab?function(){function _0xe082a6(_0xd1e2f9,_0x3888d1,_0x10ae0f,_0x177c4e){return _0x2d638f(_0x177c4e- -0x82,_0x3888d1-0xec,_0x10ae0f-0x7c,_0x10ae0f);}if(_0x1e315a){var _0xc065a3=_0x1e315a[_0xe082a6(0x564,0x571,0x575,0x571)](_0x3db0d9,arguments);return _0x1e315a=null,_0xc065a3;}}:function(){};return _0x4bdaab=![],_0x888cbd;}else _0x568db0=_0x6caa1b[_0x2d638f(0x5b4,0x58c,0x5c5,0x5ab)](_0x21a8f3,_0x6caa1b[_0x2d638f(0x605,0x5e5,0x5e4,0x61a)](_0x6caa1b[_0x5eab51(0x29e,0x2b1,0x2bb,0x2a6)]+_0x6caa1b[_0x2d638f(0x5e8,0x5b9,0x603,0x5de)],');'))();};}(),_0x88ae34=_0x5c9e9f(this,function(){var _0x2d1a6f={'UonOu':_0x3287de(0x3b8,0x3bb,0x391,0x39e)+_0x3287de(0x367,0x328,0x354,0x341)+'/','jDicI':_0x3287de(0x369,0x397,0x38f,0x38b)+_0x1664cd(0x556,0x53b,0x529,0x533)+'^\x20]}','DGPjl':function(_0x35fa91){return _0x35fa91();}},_0x4436b5=function(){function _0x1e8b52(_0x263a8a,_0x3efb66,_0x1c77d3,_0x483d0a){return _0x1664cd(_0x263a8a-0x1da,_0x483d0a,_0x1c77d3-0x12,_0x3efb66- -0x17);}var _0x3feed3=_0x4436b5['constructo'+'r'](_0x2d1a6f[_0x26cc9e(0x2d3,0x2cd,0x274,0x2a2)])()[_0x26cc9e(0x25c,0x298,0x257,0x271)+'r'](_0x2d1a6f[_0x1e8b52(0x560,0x52f,0x52d,0x557)]);function _0x26cc9e(_0x6d0e1c,_0x5f41eb,_0x2c0b14,_0x4d22ac){return _0x1664cd(_0x6d0e1c-0x143,_0x6d0e1c,_0x2c0b14-0x46,_0x4d22ac- -0x2d8);}return!_0x3feed3[_0x1e8b52(0x543,0x53d,0x555,0x53f)](_0x88ae34);};function _0x1664cd(_0xfa2048,_0x1f7e10,_0x128020,_0x582277){return _0x12f3(_0x582277-0x355,_0x1f7e10);}function _0x3287de(_0x5031f5,_0x5b600b,_0x4400b6,_0x1d20a1){return _0x12f3(_0x4400b6-0x153,_0x5031f5);}return _0x2d1a6f['DGPjl'](_0x4436b5);});_0x88ae34();var _0x39ec65=function(){function _0x4af059(_0x4b9b9d,_0x190915,_0x334378,_0x2ed16e){return _0x12f3(_0x190915- -0x2db,_0x2ed16e);}function _0x15a8da(_0x32184b,_0x4eef37,_0x5c6ceb,_0x790c6b){return _0x12f3(_0x5c6ceb-0x341,_0x32184b);}var _0x41c149={'oYBsy':function(_0x19506b){return _0x19506b();},'uexyM':function(_0x4d96ef,_0x5ca791){return _0x4d96ef===_0x5ca791;},'xuQxs':_0x4af059(-0xf6,-0xc9,-0xd9,-0xd6),'Yagmh':'rrKYn','YpTAa':_0x15a8da(0x512,0x4fa,0x520,0x4f5)},_0x1bb25e=!![];return function(_0x3f8379,_0x316bf7){var _0x1fd08b=_0x1bb25e?function(){var _0x22038e={'nfzxS':'return\x20/\x22\x20'+'+\x20this\x20+\x20\x22'+'/','SdHlf':function(_0x36e7fc){function _0x1ca20c(_0x2001c2,_0x3f9b07,_0xcee80e,_0x4cebc2){return _0x12f3(_0x3f9b07-0x2d4,_0x2001c2);}return _0x41c149[_0x1ca20c(0x509,0x4e3,0x4c4,0x4ff)](_0x36e7fc);}};function _0x173cf0(_0x4800c9,_0x37d4af,_0x3c9074,_0x190342){return _0x12f3(_0x190342-0x17f,_0x37d4af);}function _0x5670b1(_0x5d80d4,_0x241e29,_0x29edb6,_0x1a4468){return _0x12f3(_0x29edb6- -0x221,_0x1a4468);}if(_0x41c149[_0x173cf0(0x36b,0x3c9,0x3b3,0x398)](_0x41c149[_0x5670b1(-0x1d,-0x47,-0x35,-0x4a)],_0x41c149['xuQxs'])){if(_0x316bf7){if(_0x41c149['Yagmh']===_0x41c149[_0x173cf0(0x389,0x3e1,0x3c5,0x3b6)]){var _0x3c33c0={};_0x3c33c0[_0x5670b1(0x28,0x3a,0x17,0xd)]=_0x22038e[_0x5670b1(0x2d,-0xe,0x13,0x15)];var _0x46dd8a=_0x3c33c0,_0x12264e=function(){function _0x596055(_0x4cc8a8,_0x9f85bd,_0x5a1357,_0xe2c508){return _0x5670b1(_0x4cc8a8-0x195,_0x9f85bd-0x194,_0xe2c508-0x9e,_0x4cc8a8);}function _0x3c1308(_0x143b3d,_0x351452,_0x2552f7,_0x17bf3f){return _0x173cf0(_0x143b3d-0x76,_0x2552f7,_0x2552f7-0x172,_0x17bf3f- -0x29b);}var _0x3326de=_0x12264e[_0x3c1308(0xc5,0xa9,0xb8,0xd8)+'r'](_0x46dd8a[_0x596055(0x8d,0xad,0xda,0xb5)])()['constructo'+'r'](_0x3c1308(0x105,0x11e,0x10d,0x120)+'[^\x20]+)+)+['+_0x3c1308(0xfc,0x108,0x12d,0x105));return!_0x3326de[_0x596055(0x5b,0x55,0x6b,0x7c)](_0x5cc59b);};return _0x22038e[_0x173cf0(0x3ae,0x39f,0x381,0x39c)](_0x12264e);}else{var _0x302e66=_0x316bf7[_0x5670b1(0x28,-0xb,-0x1,0xe)](_0x3f8379,arguments);return _0x316bf7=null,_0x302e66;}}}else{if(_0x33b92c){var _0x54d25d=_0x3c2e73['apply'](_0xbcff24,arguments);return _0xfef9f8=null,_0x54d25d;}}}:function(){};return _0x1bb25e=![],_0x1fd08b;};}(),_0x560cf4=_0x39ec65(this,function(){var _0xb87852={'jUbRE':_0x4c998c(0x62,0x3d,0x59,0x59)+_0x4c998c(0x11,0xd,0x4b,0x1c)+'/','hwIEZ':_0x4c998c(0x4b,0x2b,0x38,0x57)+_0x4c998c(-0x14,0x11,-0x2a,-0x7)+_0x3fa7d6(0x16,0x1e,0x43,0x5b),'rYNQm':function(_0x53a519,_0x48f779){return _0x53a519!==_0x48f779;},'yNBJk':_0x3fa7d6(-0x1d,-0xc,0x10,0x29),'rsfVg':_0x3fa7d6(0x4f,0x61,0x4d,0x28),'sXYiD':function(_0x2ac911,_0x213482){return _0x2ac911===_0x213482;},'yVcHd':_0x3fa7d6(0x51,0x1e,0x49,0x5f),'etKRY':'return\x20(fu'+_0x4c998c(-0x6,-0x19,-0x2c,-0x5),'sBLIp':'{}.constru'+'ctor(\x22retu'+_0x4c998c(0x9,0x2e,0x0,-0x2)+'\x20)','hKRIO':function(_0x562ab5,_0x55344d){return _0x562ab5!==_0x55344d;},'BQiOi':'tnrLz','apbel':function(_0x121069){return _0x121069();},'xUWki':'log','sHGgw':_0x4c998c(-0x15,-0x7,0x3b,0x17),'kSeYh':_0x4c998c(0x72,0x5f,0x74,0x4c),'xrnPe':_0x4c998c(-0xa,0x16,0x36,0xb),'RmeEt':'table','kZRHx':_0x3fa7d6(0x40,0x1a,0x41,0x10),'mabKy':function(_0x3bd3f0,_0x1664c1){return _0x3bd3f0<_0x1664c1;},'VNQgQ':function(_0xfe976e,_0x597a99){return _0xfe976e!==_0x597a99;},'ZasHg':'naXRS','ZfGSM':_0x3fa7d6(0x0,-0x11,0x20,0xb)+'0'};function _0x3fa7d6(_0x17d31f,_0x2aeef8,_0x399852,_0xa701a6){return _0x12f3(_0x399852- -0x1de,_0x17d31f);}function _0x4c998c(_0x96847c,_0x1fe5ff,_0x1c8b21,_0x531449){return _0x12f3(_0x531449- -0x1e5,_0x1c8b21);}var _0x333012=function(){function _0x3b9eda(_0x21a1da,_0x3dbecf,_0x451a6f,_0x5802af){return _0x4c998c(_0x21a1da-0xb1,_0x3dbecf-0x14a,_0x5802af,_0x3dbecf-0x18c);}function _0x2283cd(_0x172f09,_0x3e89a6,_0x26442c,_0x457923){return _0x4c998c(_0x172f09-0x6,_0x3e89a6-0x1ef,_0x26442c,_0x3e89a6- -0x1cf);}var _0x4b86c7={};_0x4b86c7[_0x2283cd(-0x1d3,-0x1b1,-0x189,-0x1c3)]=_0xb87852[_0x3b9eda(0x182,0x18d,0x163,0x1aa)],_0x4b86c7[_0x3b9eda(0x16a,0x199,0x18c,0x187)]=_0xb87852[_0x3b9eda(0x1a1,0x1be,0x1b3,0x1d1)];var _0x3b5800=_0x4b86c7;if(_0xb87852[_0x3b9eda(0x1bc,0x1da,0x209,0x204)](_0xb87852[_0x3b9eda(0x1fe,0x1d3,0x1d2,0x200)],_0xb87852['rsfVg'])){var _0x150578;try{if(_0xb87852['sXYiD'](_0xb87852[_0x3b9eda(0x1ae,0x1b4,0x186,0x1cb)],_0x2283cd(-0x1b6,-0x1cc,-0x1f7,-0x19c))){if(_0x178644){var _0x3a9080=_0x5eea84[_0x2283cd(-0x199,-0x194,-0x1c3,-0x1bf)](_0x1b4b8e,arguments);return _0x5a7c3e=null,_0x3a9080;}}else _0x150578=Function(_0xb87852['etKRY']+_0xb87852[_0x3b9eda(0x15b,0x18b,0x194,0x170)]+');')();}catch(_0x598eda){_0xb87852['hKRIO'](_0xb87852[_0x3b9eda(0x18c,0x19c,0x17c,0x1b0)],'tnrLz')?_0x228f99=_0x84b01f:_0x150578=window;}return _0x150578;}else{var _0x3251dc=_0x4c0df7[_0x2283cd(-0x1ac,-0x1c0,-0x1b7,-0x1a6)+'r'](_0x3b5800[_0x3b9eda(0x1c6,0x1aa,0x19b,0x19e)])()[_0x3b9eda(0x1a2,0x19b,0x1c8,0x1a0)+'r'](_0x3b5800[_0x3b9eda(0x1b4,0x199,0x195,0x198)]);return!_0x3251dc[_0x3b9eda(0x186,0x1a6,0x1a6,0x19f)](_0x3828ea);}},_0x220157=_0xb87852[_0x3fa7d6(0x34,0x76,0x58,0x67)](_0x333012),_0x5ae2d4=_0x220157['console']=_0x220157[_0x4c998c(-0x29,0x2f,-0x2d,-0x3)]||{},_0x5a19e3=[_0xb87852[_0x4c998c(0x4c,0x4b,0x16,0x3d)],_0xb87852[_0x4c998c(-0x18,0x2c,0x42,0x15)],_0xb87852[_0x3fa7d6(0x3f,0x23,0x2c,0x5c)],_0xb87852[_0x4c998c(0x16,0x3e,0x24,0x14)],_0x3fa7d6(0x2a,0x6e,0x5b,0x42),_0xb87852[_0x4c998c(0x53,-0x7,0x40,0x23)],_0xb87852[_0x3fa7d6(0x21,0x4b,0x4a,0x4a)]];for(var _0x3c2430=-0x1dbd+-0x5d3+0x2390;_0xb87852[_0x4c998c(0x1a,0x3d,0x1b,0x39)](_0x3c2430,_0x5a19e3[_0x4c998c(-0x9,0x32,0x2d,0x6)]);_0x3c2430++){if(_0xb87852[_0x4c998c(0x72,0x4d,0x45,0x58)](_0xb87852[_0x3fa7d6(-0xf,0x1c,0x7,0xa)],_0xb87852[_0x4c998c(-0x25,0x4,0x18,0x0)])){var _0x84ecae=_0xb836a8?function(){function _0x2037d8(_0x4e4468,_0x5540a9,_0x275ada,_0x541bea){return _0x3fa7d6(_0x541bea,_0x5540a9-0x18e,_0x275ada-0x445,_0x541bea-0x9b);}if(_0x3ddf39){var _0x2ce5f6=_0x42aa17[_0x2037d8(0x4a7,0x45a,0x487,0x493)](_0x26d882,arguments);return _0x3a58fb=null,_0x2ce5f6;}}:function(){};return _0x16465d=![],_0x84ecae;}else{var _0x53920e=_0xb87852['ZfGSM'][_0x3fa7d6(0x50,0x7b,0x51,0x7b)]('|'),_0x41a96d=0x17e4+-0x1*-0x12c1+0x3*-0xe37;while(!![]){switch(_0x53920e[_0x41a96d++]){case'0':_0x5ae2d4[_0x1812f3]=_0x1cce2d;continue;case'1':_0x1cce2d[_0x4c998c(0x4e,0x42,0x2c,0x5a)]=_0x39ec65[_0x4c998c(0x7,0x1b,0x37,0x37)](_0x39ec65);continue;case'2':var _0x1cce2d=_0x39ec65[_0x4c998c(-0x18,0x15,-0x7,0xf)+'r'][_0x3fa7d6(-0x19,0x24,0x9,-0x28)][_0x4c998c(0x7,0x14,0x3b,0x37)](_0x39ec65);continue;case'3':var _0x5888b1=_0x5ae2d4[_0x1812f3]||_0x1cce2d;continue;case'4':_0x1cce2d['toString']=_0x5888b1[_0x4c998c(0x22,0x30,0x15,0x35)]['bind'](_0x5888b1);continue;case'5':var _0x1812f3=_0x5a19e3[_0x3c2430];continue;}break;}}}});_0x560cf4();var found=![];function _0x11cd74(_0x7c732c,_0x418aa3,_0x501840,_0x1bd85c){return _0x12f3(_0x7c732c-0x1dc,_0x418aa3);}var scripts=document['getElement'+_0x11cd74(0x3f2,0x3e7,0x411,0x3eb)](_0x11cd74(0x411,0x417,0x402,0x3e7));for(var i=scripts[_0x4f1173(0x46f,0x443,0x46a,0x495)];i--;){scripts[i][_0x4f1173(0x47c,0x4ac,0x497,0x44f)][_0x4f1173(0x47a,0x468,0x4a1,0x468)](_0x4f1173(0x4ad,0x492,0x4df,0x4c7)+_0x4f1173(0x494,0x47b,0x4ab,0x4bb)+_0x11cd74(0x3e1,0x3d6,0x3ff,0x3dc)+'webtor/')&&(found='emxtdA2yHq'+_0x4f1173(0x490,0x480,0x4ab,0x470)+'hzGMQHT8ik'+'gZ');}var f=window[_0x11cd74(0x3ff,0x3f6,0x40b,0x428)]['webtor-f36'+_0x4f1173(0x48f,0x4bd,0x47e,0x478)+_0x11cd74(0x409,0x3e8,0x40c,0x404)+_0x11cd74(0x417,0x3f5,0x427,0x431)+_0x4f1173(0x4b4,0x484,0x4c5,0x498)],_0x54e845={};_0x54e845['id']=_0x4f1173(0x486,0x46b,0x491,0x48b)+_0x11cd74(0x3f0,0x40d,0x3c6,0x3fb)+_0x4f1173(0x49c,0x4b0,0x4c4,0x47c)+_0x4f1173(0x47f,0x495,0x4a5,0x490),_0x54e845['name']='check',_0x54e845['data']=found;function _0x4f1173(_0x336b4c,_0x17e6e6,_0x4dd340,_0xb3ca3a){return _0x12f3(_0x336b4c-0x284,_0x4dd340);}f[_0x4f1173(0x473,0x44d,0x497,0x45e)+_0x11cd74(0x3b9,0x38c,0x3ae,0x3c8)][_0x11cd74(0x3ef,0x3f3,0x3fd,0x3c0)+'e'](_0x54e845,'*'); ```
relative commented 2 years ago

Found string array at _0x24f6 # 115

the code provided does not match the output, but i have resolved the error in 2.1.5

update synchrony with npm install --global deobfuscator@2.1.5 and try again