Javascript DeObfuscator

Read the expression hidden in the sample’s supported Packer wrapper.

Read the expression hidden in the sample’s supported Packer wrapper.

How to use

  1. Load the complete sample, including the wrapper and its argument list.
  2. Unpack it and open the resulting text as JavaScript source.
  3. Locate the add function and read its return expression without running the output.

Worked example

Input

eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||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}('4 3(1,0){2 1+0}',5,5,'b|a|return|add|function'.split('|'),0,{}))

Expected result

function add(a,b){return a+b}

Check the result

The output should contain function add(a,b){return a+b}.

Continue with another guide

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies