PerimeterX / obfuscation-detector

Detect different types of JS obfuscation by their AST structure
MIT License
53 stars 9 forks source link

unknown obfuscation #10

Open funmolde opened 6 months ago

funmolde commented 6 months ago

Hello -_-

obfuscation-detector obscrip.js [-] No obfuscation detected / unknown obfuscation

(function(a,b){function c(a,b){return d(b-926,a)}for(const d={e:"KP5Y",S:1444,Z:"#WgE",A:1464,C:"^NN@",m:1431,J:"cT59",X:1453,L:"0x5aa",k:"Aqv$",E:"0x587",u:"0x55e",R:1471,i:"0x5a6"},e=a();;)try{const a=parseInt(c(d.e,d.S))/1(parseInt(c("aHg4",1457))/2)+parseInt(c(d.Z,"0x57b"))/3(parseInt(c("rYV8",d.A))/4)+parseInt(c(d.C,d.m))/5+parseInt(c(d.J,d.X))/6(parseInt(c("%QtZ",d.L))/7)+-parseInt(c(d.k,d.E))/8(-parseInt(c("1Ee(",d.u))/9)+-parseInt(c("Aqv$",d.R))/10+-parseInt(c("KP5Y",d.i))/11;if(a===b)break;else e.push(e.shift())}catch(a){e.push(e.shift())}})(D,737529);const W=function(){const a={e:"0x373"};let b=!0;return function(c,e){const f=b?function(){function b(a,b){return d(a-f.e,b)}const f={e:"0x175"};if(e){const d=eb(a.e,"m(WT");return e=null,d}}:function(){};return b=!1,f}}(),g=W(this,function(){function a(a,b){return d(a- -c.e,b)}const b={e:"0x1ed",S:"R(!5",Z:"s%J4",A:"(m40",C:467,m:486,J:"#WgE",X:"0x1df",L:"0x1b9"},c={e:"0x3ab"},e={};e[a(-b.e,b.S)]=a(-495,b.Z)+"+$";const f=e;return g[a(-455,b.A)]()a(-b.C,"R(!5")[a(-474,"TqJ)")]()a(-b.X,"uLQ)")+"r"a(-b.L,"s%J4")});g();const U=function(){const b={e:58,S:"rPD5"};let a=!0;return function(c,e){const f=a?function(){function f(b,c){return d(b- -a.e,c)}const a={e:580};if(e){const a=ef(-b.e,b.S);return e=null,a}}:function(){};return a=!1,f}}();(function(){function a(a,b){return d(b- -f.e,a)}const b={e:"G)g0",S:295,Z:379,A:"aGs(",C:"TqJ)",m:"0x15d",J:"0x156",X:"GM6y",L:"0x12d"},c={e:"0x3b0",S:1011,Z:"cT59",A:926,C:"#WgE",m:"TqJ)",J:982},f={e:"0x349"},g={pvlou:"function \( \)",shJzC:a(b.e,-b.S)+a("q!)",-b.Z)+a(b.A,-327)+a(b.C,-b.m),yCTfZ:function(a,b){return a(b)},fryUr:a("#WgE",-b.J),zeEZo:a(b.X,-b.L)};U(this,function(){function b(b,c){return a(c,b-d.e)}const d={e:1322},e=new RegExp(g.pvlou),f=new RegExp(g.shJzC,"i"),h=gb(c.e,"iApr");eb("0x3e5","1Ee(")&&fb("0x3ae",c.m)?x():h("0")})()})();function G(a,b){return d(b-{e:102}.e,a)}function D(){const a=["oNie","W743fSoOhG","FCk7E8keWQa","ySkDW4ddONW","iSkCW58h","CNlcLSoIW4i","pCksWQRcP2VdTW","WQzBsConyCk8umo8Dmku","WO3cGSogEmkqW63dKCobE34","tSobW57cJG","umkAESkmWO0","W61Ewg/dPKLd","oKpdJIpdJG","W6GrfsNcNXSUbSopxSoMWRfEWQu","W7NcNv1caG","hCkTW4rKcq","WPScnZNcR1JdMMDtWPC","WPihpZNdNHVcMMz6WR1AWQhdGq","kmkEWO3cUNBdSbCX","dgKuWONcVW","W6/cRZpcGCoHvSoC","l8kfWR/cUMhdLHS8WOZdLW","W4xdGCkYWRPpBmoX","WR/cIJlcK8oy","imo/emo4W6hcTCk/WQ4/vf3dGG","WRLXa1tcOa","DcS/W4ldMW","bSkRWRzk","kNZcJY/dQmobgXBdHLG","bSk+WRvurI9nWQldKWS","W6f0W57cOqW","vmo7W6SsxN5tWONdLr1F","CmkDla","DgJcHCoKW54","WQ1lCMJdNKr0vG","WPicpZtdMf/dGvLaWPXu","e03dRIVdKa","W4iWf8o8ca","BCkUyxb2DcyZWRmhWOFcPYq","cWyNWQ/cRSoieCoYWObM","WO1rja","bMznWQFcPHhcOvddOmomiN4","WOhcU8onySkj","FgJcGCoaW4G","bSkLWRrvgN9kWQtdKXe","f1jKW7ubuaddHmkHWRK","W5FcUSovoG8","WOOXyspcOa","W7BdO8kzW4Hi","aSkvWPtdGZ/dUSkfW6ZcJ8kU","tbpcNSkNWRe","lSk6W7Dyeq","aMDbWQlcRbxdHGRdISo+b3TYEG","omoVis49","W6NcMmosfWK","WQhcIqBcTSoi","fLtdKh0G","W74WeLhcJCoXtxlcIW","wL5pWPNcQZe","WPWryatcQa","AttcLxJdO8ogpGRdMwK","WQTyde7cHSkMW7PJwN4","nmkqW4ix","WO/dGmossSojW4xdU8kguKO","w0dcQmk/yW","W5NcVSoYdau","nmkAW6ixW5noamkT","bwZdQJa","WQVdNxldHSoQWP0/pCkv","WRWyaYdcOCoTWRBcJ3pcJa","bbxcMwO4WPddVemAW7y","ertcNMi","ucDsW73cHW","WR0tqIBcQSoS","WQ1Ttwa","iCkXuCk7WPldO8k1","WOJdICoXWRTfy8o1cCocCq","lmkqW58eW5vp","WPZdQ8kHnsRdPmkBpmkx","WQzQqgJcSSo/EKm","WOHlm8kNW5RdNqpdTSoUeG","WRbkqNddMuL/qG","WQSoqdhcUCoWWQZdGJq","WQiuWPOVjSkJzH0","tLJcLxa","tSkKW5j4AqNdHCog","kmkdWR/cRwe","W4n+WQm4","WR5bDx3cQa","W4RcUmo1eG","yCkQzxyGl0arWO0x","W4HMW6/cRXVcHG","WQ0AWPuI","zmkOWPTk","WQHRdMJcRSo1Da","hdamW6FdVLdcGrpdGCoC","WR1Hv3hcTCo1pXJcQc0","gb/cM2q0","hfa/WQtcIaxcNCodWR5J","tb8TWQLjeq","W4tcSCo5fa","aGJcLxqKW6pcSvSnW6a","WRdcLJVcS8oE","oxWeWRq","v0HsWPFcUdC","bSkLWQ9igMHn","A8ofW6BdTZhcQqK6WRpdVHxdSa","WQ0ztsFcPSoOWQa"];return D=function(){return a},D()}const H=function(){let a=!0;return function(b,c){const f={e:326},e=a?function(){function a(a,b){return d(a- -f.e,b)}if(c){const d=c[a(195,"Vcd")](b,arguments);return c=null,d}}:function(){};return a=!1,e}}(),O=H(this,function(){function a(a,b){return d(b- -c.e,a)}const b={e:"eL$u",S:"0x24",Z:"R(!5",A:27,C:"QhUk",m:38,J:0,X:"6lfy",L:"0x1",k:"vqQD",E:24,OO:"^IVs",OH:34,Ox:"aHg4",OU:22,Og:"0x11",OW:"0xe",OD:"0x18",Od:"EOnb",Oe:"0x16",OS:"Zsba",OZ:16,OA:"^NN@",OC:"0x2e",Om:"0x19"},c={e:"0x1ef"},e={ZfCgy:function(a,b){return a(b)},GyJUD:function(a,b){return a+b},NkXUB:function(a,b){return a+b},kbkbi:a(b.e,-b.S)+a("rYV8",41)+a(b.Z,-b.A)+" )",XHAaL:function(a){return a()},xqMpb:a("48N^",7),EQRDU:a(b.C,-9),EVATd:a("^NN@",-10)};let f;try{const c=e[a("%b$Q",42)](Function,e[a("fNb4",b.m)](e.NkXUB(a("mCSI",b.J)+"nction() ",e[a(b.X,b.L)]),");"));f=ea(b.k,b.E)}catch(a){f=window}const g=f[a(b.OO,b.OH)]=f[a(b.Z,11)]||{},h=[a("3O4q","0x2c"),e[a("cT59",-41)],e[a(b.Ox,b.OU)],a("GM6y",b.Og),a(b.Z,-b.OW),a("#WgE",-31),e[a("p^Gu",-b.OD)]];for(let c=0;c<h[a(b.Od,-38)];c++){const d=H.constructor.prototypea("mCSI",-b.Oe),e=h[c],f=g[e]||d;d[a(b.OS,-28)]=Ha("TqJ)",b.OZ),d[a(b.OA,30)]=f[a("KP5Y",b.OC)]a("6lfy",-b.Om),g[e]=d}});O();function flybpass(a){function b(a,b){return d(b-793,a)}const c={e:"q!)",S:1287,Z:"0x4e3",A:"KP5Y",C:1273,m:"^IVs",J:"aGs(",X:"0x539",L:"0x4fb",k:1284},e={};e[b("rPD5",1243)]="goShortlink",e.TFgPD=b("mCSI","0x506"),e[b(c.e,"0x4d2")]=b("fNb4",c.S)+"ml";const f=e;return((""+a)b("mCSI",1271)||(""+a)b(c.A,c.C)||(""+a).includes(f[b(c.J,c.X)]))&&window[b("E0DP",c.L)]b("EOnb","0x510"),originalQuerySelectorb("E0DP",c.k)}const originalQuerySelector=document[G("e8^^","0x245")+G("e8^^","0x289")];document[G("6lfy","0x25a")+G("48N^","0x261")]=flybpass;function d(a,b){const c=D();return d=function(b,f){b-=440;let g=c[b];if(d.RCCCIE===void 0){var h=function(b){let c="",a="",d=c+h;for(let e,f,g=0,h=0;f=b.charAt(h++);~f&&(e=g%4?e64+f:f,g++%4)?c+=d.charCodeAt(h+10)-10==0?g:String.fromCharCode(255&e>>(-2g&6)):0)f="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(f);for(let d=0,e=c.length;d<e;d++)a+="%"+("00"+c.charCodeAt(d).toString(16)).slice(-2);return decodeURIComponent(a)};d.muhbIr=function(b,a){let c,d=[],e=0,f="";b=h(b);let g;for(g=0;g<256;g++)d[g]=g;for(g=0;g<256;g++)e=(e+d[g]+a.charCodeAt(g%a.length))%256,c=d[g],d[g]=d[e],d[e]=c;g=0,e=0;for(let h=0;h<b.length;h++)g=(g+1)%256,e=(e+d[g])%256,c=d[g],d[g]=d[e],d[e]=c,f+=String.fromCharCode(b.charCodeAt(h)^d[(d[g]+d[e])%256]);return f},a=arguments,d.RCCCIE=!0}const e=c[0],i=b+e,j=a[i];if(!j){if(d.aGMlvA===void 0){const a=function(a){this.lYYJUZ=a,this.wJPnyo=[1,0,0],this.ngkXiF=function(){return"newState"},this.Piielf="\w+ \(\) {\w+ ",this.HopZaN="['|\"].+['|\"];? }"};a.prototype.CMJXHy=function(){const a=new RegExp(this.Piielf+this.HopZaN),b=a.test(this.ngkXiF.toString())?--this.wJPnyo[1]:--this.wJPnyo[0];return this.ecBFwD(b)},a.prototype.ecBFwD=function(a){return!!~a?this.buudWj(this.lYYJUZ):a},a.prototype.buudWj=function(a){for(let b=0,c=this.wJPnyo.length;b<c;b++)this.wJPnyo.push(Math.round(Math.random())),c=this.wJPnyo.length;return a(this.wJPnyo[0])},new a(d).CMJXHy(),d.aGMlvA=!0}g=d.muhbIr(g,f),a[i]=g}else g=j;return g},d(a,b)}function x(a){function b(a,b){return G(b,a-g.e)}function c(a){function d(a,c){return b(c-f.e,a)}if(typeof a===d("%b$Q",1317))return function(){}d(e.e,e.S)+"r".apply(h[d("GM6y",e.Z)]);hd("48N^",e.A)]("",a/a)[d(e.m,"0x517")],1)||0==a%20?function(){return!0}d("uutT",e.J)+"r"d(e.k,"0x551"):function(){return!1}d("rYV8","0x4f6")+"r")d(e.OC,1279);hd("2!Na",e.Om)}const d={e:"0x452",S:"6lfy",Z:"0x483",A:"rYV8",C:"#WgE",m:"M!ei"},e={e:"q!)",S:1342,Z:"0x4f5",A:1353,C:1359,m:"TqJ)",J:1324,X:"aGs(",L:"0x537",k:"rYV8",E:"vqQD",OA:"0x55a",OC:"Aqv$",Om:1276},f={e:"0xb0"},g={e:549},h={ZOztK:b(1120,"6lfy")+b(d.e,d.S),kheMx:b(d.Z,d.A),BtbSe:function(a,b){return a!==b},qFaiR:function(a,b){return a+b},hAfDR:b("0x473",d.C),qEVyo:b(1164,"^NN@"),hpSLx:b(1134,d.m),sisJe:b(1179,"^NN@")+"t",nWYjo:function(a,b){return a(b)}};try{if(a)return c;h.nWYjo(c,0)}catch(a){}}

BenBaryoPX commented 6 months ago

Thanks for bringing this obfuscation to my attention. I'll try to find a unique structure to identify it by

Moka-admin0 commented 1 month ago

Hello -_-

obfuscation-detector obscrip.js [-] No obfuscation detected / unknown obfuscation

(function(a,b){function c(a,b){return d(b-926,a)}for(const d={e:"KP5Y",S:1444,Z:"#WgE",A:1464,C:"^NN@",m:1431,J:"cT59",X:1453,L:"0x5aa",k:"Aqv$",E:"0x587",u:"0x55e",R:1471,i:"0x5a6"},e=a();;)try{const a=parseInt(c(d.e,d.S))/1(parseInt(c("aHg4",1457))/2)+parseInt(c(d.Z,"0x57b"))/3(parseInt(c("rYV8",d.A))/4)+parseInt(c(d.C,d.m))/5+parseInt(c(d.J,d.X))/6(parseInt(c("%QtZ",d.L))/7)+-parseInt(c(d.k,d.E))/8(-parseInt(c("1Ee(",d.u))/9)+-parseInt(c("Aqv$",d.R))/10+-parseInt(c("KP5Y",d.i))/11;if(a===b)break;else e.push(e.shift())}catch(a){e.push(e.shift())}})(D,737529);const W=function(){const a={e:"0x373"};let b=!0;return function(c,e){const f=b?function(){function b(a,b){return d(a-f.e,b)}const f={e:"0x175"};if(e){const d=eb(a.e,"m(WT");return e=null,d}}:function(){};return b=!1,f}}(),g=W(this,function(){function a(a,b){return d(a- -c.e,b)}const b={e:"0x1ed",S:"R(!5",Z:"s%J4",A:"(m40",C:467,m:486,J:"#WgE",X:"0x1df",L:"0x1b9"},c={e:"0x3ab"},e={};e[a(-b.e,b.S)]=a(-495,b.Z)+"+$";const f=e;return ga(-455,b.A)a(-b.C,"R(!5")a(-474,"TqJ)")a(-b.X,"uLQ)")+"r"a(-b.L,"s%J4")});g();const U=function(){const b={e:58,S:"rPD5"};let a=!0;return function(c,e){const f=a?function(){function f(b,c){return d(b- -a.e,c)}const a={e:580};if(e){const a=ef(-b.e,b.S);return e=null,a}}:function(){};return a=!1,f}}();(function(){function a(a,b){return d(b- -f.e,a)}const b={e:"G)g0",S:295,Z:379,A:"aGs(",C:"TqJ)",m:"0x15d",J:"0x156",X:"GM6y",L:"0x12d"},c={e:"0x3b0",S:1011,Z:"cT59",A:926,C:"#WgE",m:"TqJ)",J:982},f={e:"0x349"},g={pvlou:"function ( )",shJzC:a(b.e,-b.S)+a("q!)",-b.Z)+a(b.A,-327)+a(b.C,-b.m),yCTfZ:function(a,b){return a(b)},fryUr:a("#WgE",-b.J),zeEZo:a(b.X,-b.L)};U(this,function(){function b(b,c){return a(c,b-d.e)}const d={e:1322},e=new RegExp(g.pvlou),f=new RegExp(g.shJzC,"i"),h=gb(c.e,"iApr");eb("0x3e5","1Ee(")&&fb("0x3ae",c.m)?x():h("0")})()})();function G(a,b){return d(b-{e:102}.e,a)}function D(){const a=["oNie","W743fSoOhG","FCk7E8keWQa","ySkDW4ddONW","iSkCW58h","CNlcLSoIW4i","pCksWQRcP2VdTW","WQzBsConyCk8umo8Dmku","WO3cGSogEmkqW63dKCobE34","tSobW57cJG","umkAESkmWO0","W61Ewg/dPKLd","oKpdJIpdJG","W6GrfsNcNXSUbSopxSoMWRfEWQu","W7NcNv1caG","hCkTW4rKcq","WPScnZNcR1JdMMDtWPC","WPihpZNdNHVcMMz6WR1AWQhdGq","kmkEWO3cUNBdSbCX","dgKuWONcVW","W6/cRZpcGCoHvSoC","l8kfWR/cUMhdLHS8WOZdLW","W4xdGCkYWRPpBmoX","WR/cIJlcK8oy","imo/emo4W6hcTCk/WQ4/vf3dGG","WRLXa1tcOa","DcS/W4ldMW","bSkRWRzk","kNZcJY/dQmobgXBdHLG","bSk+WRvurI9nWQldKWS","W6f0W57cOqW","vmo7W6SsxN5tWONdLr1F","CmkDla","DgJcHCoKW54","WQ1lCMJdNKr0vG","WPicpZtdMf/dGvLaWPXu","e03dRIVdKa","W4iWf8o8ca","BCkUyxb2DcyZWRmhWOFcPYq","cWyNWQ/cRSoieCoYWObM","WO1rja","bMznWQFcPHhcOvddOmomiN4","WOhcU8onySkj","FgJcGCoaW4G","bSkLWRrvgN9kWQtdKXe","f1jKW7ubuaddHmkHWRK","W5FcUSovoG8","WOOXyspcOa","W7BdO8kzW4Hi","aSkvWPtdGZ/dUSkfW6ZcJ8kU","tbpcNSkNWRe","lSk6W7Dyeq","aMDbWQlcRbxdHGRdISo+b3TYEG","omoVis49","W6NcMmosfWK","WQhcIqBcTSoi","fLtdKh0G","W74WeLhcJCoXtxlcIW","wL5pWPNcQZe","WPWryatcQa","AttcLxJdO8ogpGRdMwK","WQTyde7cHSkMW7PJwN4","nmkqW4ix","WO/dGmossSojW4xdU8kguKO","w0dcQmk/yW","W5NcVSoYdau","nmkAW6ixW5noamkT","bwZdQJa","WQVdNxldHSoQWP0/pCkv","WRWyaYdcOCoTWRBcJ3pcJa","bbxcMwO4WPddVemAW7y","ertcNMi","ucDsW73cHW","WR0tqIBcQSoS","WQ1Ttwa","iCkXuCk7WPldO8k1","WOJdICoXWRTfy8o1cCocCq","lmkqW58eW5vp","WPZdQ8kHnsRdPmkBpmkx","WQzQqgJcSSo/EKm","WOHlm8kNW5RdNqpdTSoUeG","WRbkqNddMuL/qG","WQSoqdhcUCoWWQZdGJq","WQiuWPOVjSkJzH0","tLJcLxa","tSkKW5j4AqNdHCog","kmkdWR/cRwe","W4n+WQm4","WR5bDx3cQa","W4RcUmo1eG","yCkQzxyGl0arWO0x","W4HMW6/cRXVcHG","WQ0AWPuI","zmkOWPTk","WQHRdMJcRSo1Da","hdamW6FdVLdcGrpdGCoC","WR1Hv3hcTCo1pXJcQc0","gb/cM2q0","hfa/WQtcIaxcNCodWR5J","tb8TWQLjeq","W4tcSCo5fa","aGJcLxqKW6pcSvSnW6a","WRdcLJVcS8oE","oxWeWRq","v0HsWPFcUdC","bSkLWQ9igMHn","A8ofW6BdTZhcQqK6WRpdVHxdSa","WQ0ztsFcPSoOWQa"];return D=function(){return a},D()}const H=function(){let a=!0;return function(b,c){const f={e:326},e=a?function(){function a(a,b){return d(a- -f.e,b)}if(c){const d=ca(195,"V*cd");return c=null,d}}:function(){};return a=!1,e}}(),O=H(this,function(){function a(a,b){return d(b- -c.e,a)}const b={e:"eL$u",S:"0x24",Z:"R(!5",A:27,C:"QhUk",m:38,J:0,X:"6lfy",L:"0x1",k:"vqQD",E:24,OO:"^IVs",OH:34,Ox:"aHg4",OU:22,Og:"0x11",OW:"0xe",OD:"0x18",Od:"EOnb",Oe:"0x16",OS:"Zsba",OZ:16,OA:"^NN@",OC:"0x2e",Om:"0x19"},c={e:"0x1ef"},e={ZfCgy:function(a,b){return a(b)},GyJUD:function(a,b){return a+b},NkXUB:function(a,b){return a+b},kbkbi:a(b.e,-b.S)+a("rYV8",41)+a(b.Z,-b.A)+" )",XHAaL:function(a){return a()},xqMpb:a("48N^",7),EQRDU:a(b.C,-9),EVATd:a("^NN@",-10)};let f;try{const c=e[a("%b$Q",42)](Function,e%5Ba(%22fNb4%22,b.m)%5D(e.NkXUB(a(%22mCSI%22,b.J)+%22nction());"));f=ea(b.k,b.E)}catch(a){f=window}const g=f[a(b.OO,b.OH)]=f[a(b.Z,11)]||{},h=[a("3O4q","0x2c"),e[a("cT59",-41)],e[a(b.Ox,b.OU)],a("GM6y",b.Og),a(b.Z,-b.OW),a("#WgE",-31),e[a("p^Gu",-b.OD)]];for(let c=0;c<h[a(b.Od,-38)];c++){const d=H.constructor.prototypea("mCSI",-b.Oe),e=h[c],f=g[e]||d;d[a(b.OS,-28)]=Ha("TqJ)",b.OZ),d[a(b.OA,30)]=f[a("KP5Y",b.OC)]a("6lfy",-b.Om),g[e]=d}});O();function flybpass(a){function b(a,b){return d(b-793,a)}const c={e:"q!)",S:1287,Z:"0x4e3",A:"KP5Y",C:1273,m:"^IVs",J:"aGs(",X:"0x539",L:"0x4fb",k:1284},e={};e[b("rPD5",1243)]="goShortlink",e.TFgPD=b("mCSI","0x506"),e[b(c.e,"0x4d2")]=b("fNb4",c.S)+"ml";const f=e;return((""+a)b("mCSI",1271)%7C%7C(%22%22+a)%5Bb(c.A,c.C)%5D(b(c.m,1268)+%22ha%22)%7C%7C(%22%22+a).includes(f%5Bb(c.J,c.X)%5D))&&window[b("E0DP",c.L)]b("EOnb","0x510"),originalQuerySelectorb("E0DP",c.k)}const originalQuerySelector=document[G("e8^^","0x245")+G("e8^^","0x289")];document[G("6lfy","0x25a")+G("48N^","0x261")]=flybpass;function d(a,b){const c=D();return d=function(b,f){b-=440;let g=c[b];if(d.RCCCIE===void 0){var h=function(b){let c="",a="",d=c+h;for(let e,f,g=0,h=0;f=b.charAt(h++);~f&&(e=g%4?e_64+f:f,g++%4)?c+=d.charCodeAt(h+10)-10==0?g:String.fromCharCode(255&e>>(-2g&6)):0)f="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(f);for(let d=0,e=c.length;d<e;d++)a+="%"+("00"+c.charCodeAt(d).toString(16)).slice(-2);return decodeURIComponent(a)};d.muhbIr=function(b,a){let c,d=[],e=0,f="";b=h(b);let g;for(g=0;g<256;g++)d[g]=g;for(g=0;g<256;g++)e=(e+d[g]+a.charCodeAt(g%a.length))%256,c=d[g],d[g]=d[e],d[e]=c;g=0,e=0;for(let h=0;h<b.length;h++)g=(g+1)%256,e=(e+d[g])%256,c=d[g],d[g]=d[e],d[e]=c,f+=String.fromCharCode(b.charCodeAt(h)^d[(d[g]+d[e])%256]);return f},a=arguments,d.RCCCIE=!0}const e=c[0],i=b+e,j=a[i];if(!j){if(d.aGMlvA===void 0){const a=function(a){this.lYYJUZ=a,this.wJPnyo=[1,0,0],this.ngkXiF=function(){return"newState"},this.Piielf="\w+ () {\w+ *",this.HopZaN="['|"].+['|"];? }"};a.prototype.CMJXHy=function(){const a=new RegExp(this.Piielf+this.HopZaN),b=a.test(this.ngkXiF.toString())?--this.wJPnyo[1]:--this.wJPnyo[0];return this.ecBFwD(b)},a.prototype.ecBFwD=function(a){return!!~a?this.buudWj(this.lYYJUZ):a},a.prototype.buudWj=function(a){for(let b=0,c=this.wJPnyo.length;b<c;b++)this.wJPnyo.push(Math.round(Math.random())),c=this.wJPnyo.length;return a(this.wJPnyo[0])},new a(d).CMJXHy(),d.aGMlvA=!0}g=d.muhbIr(g,f),a[i]=g}else g=j;return g},d(a,b)}function x(a){function b(a,b){return G(b,a-g.e)}function c(a){function d(a,c){return b(c-f.e,a)}if(typeof a===d("%b$Q",1317))return function(){}d(e.e,e.S)+"r".apply(h[d("GM6y",e.Z)]);hd("48N^",e.A)]("",a/a)[d(e.m,"0x517")],1)||0==a%20?function(){return!0}d("uutT",e.J)+"r"d(e.k,"0x551"):function(){return!1}d("rYV8","0x4f6")+"r")d(e.OC,1279);hd("2!Na",e.Om)}const d={e:"0x452",S:"6lfy",Z:"0x483",A:"rYV8",C:"#WgE",m:"M!ei"},e={e:"q!_)",S:1342,Z:"0x4f5",A:1353,C:1359,m:"TqJ)",J:1324,X:"aGs(",L:"0x537",k:"rYV8",E:"vqQD",OA:"0x55a",OC:"Aqv$",Om:1276},f={e:"0xb0"},g={e:549},h={ZOztK:b(1120,"6lfy")+b(d.e,d.S),kheMx:b(d.Z,d.A),BtbSe:function(a,b){return a!==b},qFaiR:function(a,b){return a+b},hAfDR:b("0x473",d.C),qEVyo:b(1164,"^NN@"),hpSLx:b(1134,d.m),sisJe:b(1179,"^NN@")+"t",nWYjo:function(a,b){return a(b)}};try{if(a)return c;h.nWYjo(c,0)}catch(a){}}

did you defined the type ?

ctrl-escp commented 4 weeks ago

The code is either broken or partial, and I simply can't run it. Please link to a complete and valid version.