How to deobfuscate javascript file, i have a javascript code are deobfuscate .
Code: http://pastebin.com/zFH2GidN Help me and thanks you.
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.
Sign up to join this communityHow to deobfuscate javascript file, i have a javascript code are deobfuscate .
Code: http://pastebin.com/zFH2GidN Help me and thanks you.
UPDATE
Based 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.
Eval Source
option.You'll see:
It seems to be calling prompt()
, so put a breakpoint on it, like this:
(I'll be using Chrome for this)
prompt
like this: window.prompt_ = window.prompt
window.prompt = function(a, b){ debugger; return window.prompt_(a, b); }
Run This
Password is forevermore
: