J
J
jtn675602016-06-12 19:02:05
PHP
jtn67560, 2016-06-12 19:02:05

JS deobfuscation, how to do it in php or where to get it ready?

There is an obfuscated javascript code

function nVR1(mjb2,l276){var nvF93='',wC12,hWc24,g1M69,yHq50,avt92,oq45,tn61,lII90,r8V84=0,ex734='',gQf15;for(gQf15=0;gQf15<26;gQf15++)nvF93=nvF93+String.fromCharCode('A'.charCodeAt(0)+gQf15);for(gQf15=0;gQf15<26;gQf15++)nvF93=nvF93+String.fromCharCode('a'.charCodeAt(0)+gQf15);for(gQf15=0;gQf15<10;gQf15++)nvF93=nvF93+String.fromCharCode('0'.charCodeAt(0)+gQf15);nvF93=nvF93+'+/=';do{ yHq50=nvF93.indexOf(mjb2.charAt(r8V84++));avt92=nvF93.indexOf(mjb2.charAt(r8V84++));oq45=nvF93.indexOf(mjb2.charAt(r8V84++));tn61=nvF93.indexOf(mjb2.charAt(r8V84++));lII90=yHq50<<18|avt92<<12|oq45<<6|tn61;wC12=lII90>>16&0xff;hWc24=lII90>>8&0xff;g1M69=lII90&0xff;if(oq45==64)ex734+=String.fromCharCode(wC12);else if(tn61==64)ex734+=String.fromCharCode(wC12,hWc24);else ex734+=String.fromCharCode(wC12,hWc24,g1M69);}while(r8V84<mjb2.length);if(l276==null)return nVR1(ex734.substr(Number(ex734.substr(3,2))+7),1);else document.write(ex734);}nVR1('dU1lNzlJakVZaFVrOXZ0alFZRkFwVFRxS2ZHOGJvRTRhOVFwUjk0UXJZYUJ0RFVrQ0FWMnRPc2QzOGxleDBpSTk5NzFpYlJLYTJsRUdmWWlQVGtpSU1QR2xtY21GdFpTQnpjbU05SW1oMGRIQTZMeTkzZDNjdVpISjBkV0psY2k1amIyMHZaVzFpWldRdk1qTTJORFU1T1NJZ2QybGtkR2c5SWpZd09DSWdhR1ZwWjJoMFBTSTBOVFFpSUdaeVlXMWxZbTl5WkdWeVBTSXdJaUJ6WTNKdmJHeHBibWM5SW01dklqNDhMMmxtY21GdFpUND0=');

which the deobfuscatejavascript.com/index_html# service deobfuscates perfectly.
< iframe src = "http://www.drtuber.com/embed/2364599"
width = "608"
height = "454"
frameborder = "0"
scrolling = "no" > < /iframe>

how to do it in php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-06-12
@jtn67560

You need a "javascript emulator in php".
I don't know if it exists, but arbitrary javascript code can only be deobfuscated by executing it.
In other ways, only certain types of obfuscation can be processed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question