Please help, with javascript code!

Hello,
I Have create site proxiii.tk and i put the code:

<script data-cfasync="false" type="text/javascript" src="https://proxiii.tk/best_on.js"></script>

Which contains:

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('!h(a,b,c,d,e){h l(){6(!g){g=!0;9 a=2.w("3");a.4=b+"/z.B?C="+j,e||"D"!==2.A?(e&&(a.t=e),2.p.q(a)):2.u(\'<3 4="\'+n+\'"></3>\')}}9 f=2.w("3"),g=!1,j=d||c,k=c,m=f.y=h(){l()},n=a+"/z.B?C="+k;6(f.4=n,e||"D"!==2.A)e&&(f.t=e),2.p.q(f);s{9 o=E+"F";6(i.r)8{i.r(5,o,{G:!1,L:!1,K:m})}7(a){8{5[o]=m}7(a){}}s 8{5[o]=m}7(a){}2.u("<3 y=\\"I[\'"+o+\'\\\']()" 4="\'+n+\'"></3>\')}}("//v.M.J","//v.H.N",x,x,!0);',50,50,'||document|script|src|win|if|catch|try|var||||||||function|Object|||||||head|appendChild|defineProperty|else|async|write|go|createElement|900113|onerror|apu|readyState|php|id|loading|sucCallback|err|configurable|proxiii|window|com|value|enumerable|oclasrv|tk'.split('|'),0,{}))

The code is correct , but is doesn’t open popunder with this script, and I’m not sure why.

Please help me!

Thanks

Can you break your script up onto separate lines please, as it’s highly unlikely anyone is going to try and interpret it for you like that.

It’s obfuscated. It’s highly unlikely anyone is going to be able to make sense of it, anyway.

The error lies in the obfuscation method, or what you pass along to be obfuscated, when the first pass has run, it receive content that break it.

function(a,b,c,d,e){function l(){if(!g){g=!0;var a=document.createElement("script");a.src=b+"/apu.php?id="+j,e||"loading"!==document.readyState?(e&&(a.async=e),document.head.appendChild(a)):document.write('<script src="'+n+'"></script>')}}var f=document.createElement("script"),g=!1,j=d||c,k=c,m=f.onerror=function(){l()},n=a+"/apu.php?id="+k;if(f.src=n,e||"loading"!==document.readyState)e&&(f.async=e),document.head.appendChild(f);else{var o=sucCallback+"err";if(Object.defineProperty)try{Object.defineProperty(win,o,{configurable:!1,enumerable:!1,value:m})}catch(a){try{win[o]=m}catch(a){}}else try{win[o]=m}catch(a){}document.write("<script onerror=\"window['"+o+'\']()" src="'+n+'"></script>')}}("//go.oclasrv.com","//go.proxiii.tk",900113,900113,!0)

Please note that attempts to obfuscate the code like this has no real use, and can easily be reverted. You are better off just minimizing the code if you want to make it harder to read, instead of adding cpu cycles to process something that anyone can read if they want anyway.

Obfuscated at this level, in any language is easy to bypass. This one takes less than half a minute to avoid.

As long as the code is evaluated, you can go through it one step at a time until you sit back with the real code.

Hello,
Thanks TheRedDevil, i have fix the problem.

What did you do to fix the problem, please?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.