try2hack hacking game

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Karaethon1

Senior member
Aug 22, 2001
439
0
0
I don't friggin have a specific program for downloading to just get the source.

IE with T1 has never failed me before!!!! grr...
 

chiwawa626

Lifer
Aug 15, 2000
12,013
0
0
Originally posted by: Karaethon1
I don't friggin have a specific program for downloading to just get the source.

IE with T1 has never failed me before!!!! grr...

Hah all you need is notepad and IE. Get the URL to the page, then use some oldschool html in notepad and make a link to the page <a href="addresS">blah</a> then open the page in IE and rite click on link and save the destination :)
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
hahaha.

I got the "It isn't this easy try again"




And the password doesn't work either... Stupid red herrings...
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
I dunno if this is coincidence, but on that page where u get the "not level 4" it says something about an sfv, which I remember as a file type that has something to do with winrar when it splits up a bunch of files.

I'm probably just thinking too hard...
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
Originally posted by: ViRGE
Bah, even with the source I can't crack 3. I have this sneaking suspecion I need a packet sniffer.

Ok... looking at the source:
The PASSWORD and the CORRECTSITE are defined after the if statement. They put the WRONGSITE as the actual site to mislead us.

Thus, you have to look into the code to figure it out. Now, I don't know java or javascript, but I remember C++ classes.

When it checks, it says something about "location.href = CORRECTSITE"

This makes me think that there's some sort of location file stored somewhere that we can access to figure out the information. Armed with this knowledge, I tried a bunch of extensions (xhtml, js, sfv, txt, etc) and nothing as worked yet.

So... if anyone can use what I've found to figure it out...

EDIT: Oh yeah... my point was that you didn't need a packet sniffer
 

datalink7

Lifer
Jan 23, 2001
16,765
6
81
Originally posted by: BmXStuD
Originally posted by: datalink7
Originally posted by: BmXStuD
Hehe i cheated! level 2 now!

How did you cheat? I don't think it is possible (unless someone told you what it was).

Just "view source" and go thru the coding and script and crap like this

</style>
<script language="JavaScript">
<!--
function Try(passwd) {
if (passwd =="pw was here") {
alert("Alright! On to level 2...");
location.href = "level2-xfdgnh.xhtml";


simple but level 2 is broke? HEHE only try this if u give up.

That isn't cheating... that is how you are supposed to do it :p
 

OulOat

Diamond Member
Aug 8, 2002
5,769
0
0
Originally posted by: Karaethon1
Originally posted by: ViRGE
Bah, even with the source I can't crack 3. I have this sneaking suspecion I need a packet sniffer.

Ok... looking at the source:
The PASSWORD and the CORRECTSITE are defined after the if statement. They put the WRONGSITE as the actual site to mislead us.

Thus, you have to look into the code to figure it out. Now, I don't know java or javascript, but I remember C++ classes.

When it checks, it says something about "location.href = CORRECTSITE"

This makes me think that there's some sort of location file stored somewhere that we can access to figure out the information. Armed with this knowledge, I tried a bunch of extensions (xhtml, js, sfv, txt, etc) and nothing as worked yet.

So... if anyone can use what I've found to figure it out...

No, I think correctsite is a variable defined somewhere...

EDIT: Oh yeah... my point was that you didn't need a packet sniffer

No, I think correctsite is a variable defined somewhere, not a file name.
 

dafatha00

Diamond Member
Oct 19, 2000
3,871
0
76
Originally posted by: ViRGE
Got level 2; read the swf file in a text viewer; the strings are in plain text.

Sorry..stupid question. But how do I read the swf file in a txt viewer? I'm not sure how to access the file
 

habib89

Diamond Member
Jan 17, 2001
3,599
0
0
i know now that i am definately not meant to be a hacker.. even with you guys telling me what to do, i could only get to level 2
 

Marauder-

Platinum Member
Nov 29, 1999
2,248
0
0
Originally posted by: habib89
i know now that i am definately not meant to be a hacker.. even with you guys telling me what to do, i could only get to level 2

You must mean h4x0r - what is this "hacker" term you're using...
 

OulOat

Diamond Member
Aug 8, 2002
5,769
0
0
Originally posted by: dafatha00
Originally posted by: ViRGE
Got level 2; read the swf file in a text viewer; the strings are in plain text.

Sorry..stupid question. But how do I read the swf file in a txt viewer? I'm not sure how to access the file

Open up notepad, save the swf, drag and drop swf into notepad...
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
Originally posted by: hevnsnt
ok.. 1 hint on level 3 --- look near metatags

Comparing the source of level 2 with level 1, the only difference I see is:
"<script src="JavaScript"></script>"

So apparently the file is called JavaScript, but I can't find how to access it from the website...