HackQuest: JavaScript: Sir, could you pop me?
Name: Sir, could you pop me?
Place: Tokyo, Japan
Target: Lant TowersThere was a meeting in these rooms, which we must disrupt. Get us in…
When you start this challenge, you will notice that you are immediately prompted for username and password, and thereafter redirected to an irrelevant page. Disabling JavaScript from the start could give you problems with getting through the Flash screen. Thus, you’ll have to find the URL for the page all by yourself. After pressing the “Accept” button, hit the “Stop” button on your browser before you see the username/password prompts. Now, view the page source and look for the frame containing the challenge. You will find an (incorrectly implemented) iframe:
<iframe width=100% height=650 src="modules/HackQuest/hacking/frameheader.php?uname=Tim&uid=56382&url=253">
Of course, your uname and uid will be different. Follow that URL with JavaScript disabled and view the source code. You will se a relatively elaborate attempt at hiding the JavaScript, pushing the line count of the file to 56536. However, you should have no problems finding the not-so-elaborately hidden username and password declarations.
var username = "Johnny";
and
var password = "Mnemonic";
Enter those values, and you have succeeded.

Nice guides, and thanks for another site to spend this whole evening on. Right now I’m stuck at the “Ok, finally it’s secure. Or?”-level. Wich is your current level?
Comment by Somerunce — July 15, 2007 @ 7:59 pm
Somerunce, I noticed your name in the online-list at HackQuest. It means that you’re farther than me; I write the guides as I’m progressing, and haven’t looked at any other challenges yet. Good luck!
Comment by Tim — July 15, 2007 @ 10:40 pm
Somerunce, there is now a solution for “Ok finally it’s secure. Or?”. I agree that it wasn’t the best categorized of challenges..
Comment by Tim — July 17, 2007 @ 2:56 pm
USername and Password got Changed. But as it is shown u will find them easy
Comment by Phil — September 16, 2008 @ 9:53 am