Axino.net

JavaScript Challenge 2 :: Stop me quickly

by Arxleol on Thursday 28.01.2010, under hellboundhackers.org, tutorial

When you open challenge number 2 you will be asked for password, and if you answer incorrectly you will be routed back to same page and again asked to input password. Effectively disabling you to see code.

Now I haven’t found better way to do this but after I get message that password is incorrect, I prepare myself to click stop in the browser and ASAP I click ok on the incorrect password I also click on stop in the browser.

This is the way I was able to obtain following function from the page source code:

<!--
var password, i;
 
password=prompt("Please enter password!","");
if (password=="level2done") {
 location="huh.php"
 i=4;
}
else {
alert("Wrong password, you'll go back to the index")
 location="index.php"
}
 
//-->

As you can see in the first if statement script checks input if it is equal to the level2done which means that our password is level2done.

Similar Posts:

:, , , , ,
No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives