Thursday, July 19, 2012

HBH Javascript Challenge 2 Solution



1. Goto HBH JavaScript Challenge Level 2.
 
2. Look for the Source code and Find below String.
 

3. In above we can see that a javascript file is linked. For this script goto below link.


4. Open this .js file and there you can find password ( "level2done" )

File : level2script.js

<!--
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"
}

//-->


Enjoy...!!!

Related Posts Plugin for WordPress, Blogger...