Showing posts with label Webmaster Tools. Show all posts
Showing posts with label Webmaster Tools. Show all posts

Sunday, 14 April 2019

How To Unpack Eval Function Javascript

How To Unpack Eval Function Javascript

Evel Functions Codings 

Eval() is function available for javascript php and other language the main idea of eval() is to evaluate and execute string as a code what this mean that you can write your javascript code as a text and you can evaluate it as javascript code this function still used in javascript but in php it's not recommended because it's unsecured function.

Eval() how it works

As we said that eval() is evaluating function that combine text and variable and try to execute them, example
var x = 10;
var y = 20;
var result = eval("x * y");
the result here will be 200 as you see the "x * y" is string but eval("x * y") it because operation.

Use eval() function to encrypting

As you see eval() not an encryption function, but most designer use eval() inside eval inside eval() ... and make their code look like encrypted.

How to unpack eval()

The easiest way to unpack eval() is to trace the return value of the function or trace the variable before get modified inside the script.

Example for eval() function

This following code result is alert("hello");
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}('A(o(p,a,c,k,e,d){e=o(c){q c.u(C)};s(!\'\'.t(/^/,x)){r(c--){d[c.u(a)]=k[c]||c.u(a)}k=[o(e){q d[e]}];e=o(){q\'\\\\w+\'};c=1};r(c--){s(k[c]){p=p.t(z B(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c])}}q p}(\'j(3(4,a,c,k,e,d){e=3(c){5 c};6(!\\\'\\\'.8(/^/,i)){7(c--){d[c]=k[c]||c}k=[3(e){5 d[e]}];e=3(){5\\\'\\\\\\\\9+\\\'};c=1};7(c--){6(k[c]){4=4.8(m f(\\\'\\\\\\\\b\\\'+e(c)+\\\'\\\\\\\\b\\\',\\\'g\\\'),k[c])}}5 4}(\\\'0("1");\\\',2,2,\\\'n|l\\\'.h(\\\'|\\\'),0,{}))\',v,v,\'|||o|p|q|s|r|t|w||||||B||y|x|A||E|z|D\'.y(\'|\'),0,{}))',41,41,'||||||||||||||||||||||||function||return|while|if|replace|toString|24||String|split|new|eval|RegExp|36|alert|hello'.split('|'),0,{}))

Download javascript eval() unpacker

To download js unpacker check link below:

Download Javascript Beautifier Unpacker Deobfuscator Formatter

Download Javascript Beautifier Unpacker Deobfuscator Formatter

Javascript beautifier how to use

Javascript beautifier is easy to use just copy your javascript html or css code inside the Textareaand click Beautify and we will do the rest .

What is javascript beautifier unpacker deobfuscator formatter

Javascript beautifier is a simple tool or script created with html and javascript used to beautify unpack and deobfuscate JavaScript and html code, this tool can make JSON and JSONP readable, it can Detect packers and obfuscator and can open eval() function, also it's able to format html javascript and css code just with one click.

Download javascript beautifier