Sinisterly
I can't make it to the second level. - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: General (https://sinister.ly/Forum-General)
+--- Forum: The Lounge (https://sinister.ly/Forum-The-Lounge)
+--- Thread: I can't make it to the second level. (/Thread-I-can-t-make-it-to-the-second-level)



I can't make it to the second level. - Evangelist - 02-04-2013

http://www.hack-test.com/

Fuck it makes me rage.


RE: I can't make it to the second level. - ICE_ - 02-04-2013

Level one is fairly simple:

inspect the page source, within it you should see some java script code (in the html) here is what you should be looking for:

Code:
{ var a="null"; function check() { if (document.a.c.value == a) { document.location.href="/"+document.a.c.value+".htm"; } else { alert ("Try again"); } } }

as you can see, var a is set to "null" rather than null, meaning the password is "null" when you enter it an alert popup should show up telling you to enter a password, it doesn't matter what you enter. Level two is a bit difficult, I'm trying to figure it out. "Refresh now..." is a lie though

i figured out level 2, look in the page source for:

Code:
var pass, i; pass=prompt("Please enter password!",""); if (pass=="l3l") { window.location.href="./"+pass+".htm"; i=4; }

then refresh the page and enter the password l3l

level 3 is fairly simple, go into the source and look for:

Code:
function pass() { var pw, Eingabe; pw=window.document.alinkColor; Eingabe=prompt ("Please enter password"); if (Eingabe==pw) { window.location.href=String.fromCharCode(97,98,114,97,101)+".htm"; } else { alert("Try again"); } }

as you can see when the password is entered correctly the page is switched to window.location.href=String.fromCharCode(97,98,114,97,101)+".htm";

fromCharCode(97,98,114,97,101) means the htm file name is encoded in ascii, decode the ascii and go to the link: http://www.hack-test.com/abrae.htm

level 4 is easier than the last! go into the page source and find where the link to the 'next level' is written, click on the link in a new tab and in the tab where you were looking at the source click on the link (the htm file) and read the source, look for:
Code:
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";} // -->

then enter the password.


RE: I can't make it to the second level. - Evangelist - 02-04-2013

I still can't find the code. I am not a hacker.


RE: I can't make it to the second level. - ICE_ - 02-04-2013

you get the point of all of the levels, I'm not going to give you any more answers. Good luck!


RE: I can't make it to the second level. - Evangelist - 02-04-2013

Nice one. I got to level 6.
Lets see what now


RE: I can't make it to the second level. - Index - 02-04-2013

I made it really far with the help of Anon,I think I beat it too so it is possible but one of the levels is glitched and won't let you through so you have to google it I'll let you find it Tongue


RE: I can't make it to the second level. - Cat_LF - 02-05-2013

look up the answers? Wink

Thats what i would do.


Re: I can't make it to the second level. - Zealotry - 02-05-2013

I got to level 19. I'll go to level twenty tomorrow.