Javascript Missions 5 :: Escape!
by Arxleol on Wednesday 19.05.2010, under hackthissite.org, javascript, tutorial
Level 5 can be solved on really simple way. Since Faith wrote encoded characters and as we would like to have simplest solution possible we will just output contents or variable moo.
Javascript:
moo = unescape('%69%6C%6F%76%65%6D%6F%6F'); function check (x) { if (x == moo) { alert("Ahh.. so that's what she means"); window.location = "../../../missions/javascript/5/?lvl_password="+x; } else { alert("Nope... try again!"); } }
Now to see contents of variable moo. We will use technique known as javascript injection. What you need to do is to put following source code in your browser URL bar and content of variable moo will be outputted as alert window.
javascript:alert(moo)
Password is: ilovemoo
Similar Posts:
No comments for this entry yet...