How to deobfuscate javascript file, i have a javascript code are deobfuscate .Code: http://pastebin.com/zFH2GidNHelp me and thanks you.
How to deobfuscated javascript?
obfuscation;javascript
UPDATEBased on @ws's comment and @nderscore's code, use this JSFiddle to decode the thing.To find the password that this script asks for, you can use a simple debugging trick.Go to JSFuck and uncheck the Eval Source option.Paste the obfuscated JavaScriptRunYou'll see:It seems to be calling prompt(), so put a breakpoint on it, like this:(I'll be using Chrome for this)Open console (F12)Backup the original prompt like this: window.prompt_ = window.promptOverride the call to prompt with a breakpoint: window.prompt = function(a, b){ debugger; return window.prompt_(a, b); }Click Run ThisYou'll break here:Check the callstack at the right bottom.Go back one function, and you'll see:Bingo!Password is forevermore: