Thursday, 31 October 2013

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...!!!

No comments:

Post a Comment