Axino.net

hackertest.net level 5 :: Save As…

by Arxleol on Wednesday 14.01.2009, under hackertest.net, tutorial

Well since you have solved level 4 so easy there was a little check level 5 is harder. Trouble with level 5 is that you cannot take a look at the source code of the page itself since when you enter incorrect password it automatically returns you to the previous page of the level 4. Now we will check whther this is entirely true :D So as I have already said in the introduction we have problem checking out source code, nontheless as you can see in the title of teh post (tutorial) it is obvious that we will have to use firefox feature save as.

Save Link As… is firefox feature that enables you to save things from the web locally on your computer and this can be easily done by right clicking on the hyperlink to the next mission and saving it locally on your machine.

Next step is to open the file with your prefered text editor and examine source code. You can open it by right clicking and then open with… and let’s say notepad is sufficient enough.

If you would care to take a peak in source code you will find the following function:

var pass, i;
pass=prompt("Password: ","");
if (pass=="SAvE-as hELpS a lOt") {
window.location.href="save_as.htm";
i=4;
}else {alert("Try again");
window.location.href="abrae.htm";}

That in fact performs a check whether entered password is correct or not. To avoid repeating same things all over again we check out comparisson statement and password is obvious.

So for the lamers here is password: SAvE-as hELpS a lOt

Nicely done

Similar Posts:

:, , , , , ,
1 comment for this entry:

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