Tired of prompts? Lets solve this one quickly and move to next mission. When you check the source code for his mission you will not find a function like the previous levels. It is because the we necessarily do not need to write the javascript codes in our main file. We can also write it in a separate js file and link it.
<SCRIPT SRC=”psswd.js” LANGUAGE=”JavaScript” type=”text/javascript”></script>
Like its done here. The javascript function is written in a separate psswd.js file. So lets just open this file using directory traversal and move on.
<!-- var pass; pass=prompt("Password:",""); if (pass=="hackertestz") { window.location="included.htm"; }else alert("Try again..."); //-->
The answer is hackertestz.
Good luck!!!
Latest posts by Abhishek Gupta (see all)
- Laravel Custom Exception Handlers - March 28, 2019
- Customizing Laravel validation JSON message format - March 20, 2019
- Time killer and addictive Google Games - March 19, 2019