try2hack hacking game

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

simms

Diamond Member
Sep 21, 2001
8,211
0
0
Originally posted by: damiano
Originally posted by: Intake77
Originally posted by: damiano
Originally posted by: Karaethon1
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...

stuck here in the same spot

maybe it didnt give it away.. lol



Hahah Level 4 was cool. Onto 5! :D

ok..
I was being stupid and didn't know how to type...
getting to level five as well...
doesn't look so hard..
a tip for you boys...

mocha

:D

cute. mocha and java... who would've thought ;)

this game is really helping my knowledge of new languages! :)
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
Originally posted by: damiano
Originally posted by: damiano
Originally posted by: hevnsnt
Originally posted by: simms
what do you use to view class items? if i use notepad it's just regular lbl and txt source.


try google.. thats how I decompiled it.

see my help above :D

i finally got it...
piece of cake :D
those who got it as well will understand


Would u mind posting part of the decomplied class? I'm having trouble installing mocha....

Or maybe u could PM it to me please?
 

simms

Diamond Member
Sep 21, 2001
8,211
0
0
E:\>java mocha.Decompiler [-v] [-o] PasswdLevel4.class
Usage: java mocha.Decompiler [-v] [-o] <Class1.class> <Class2.class>...

Why? I typed it in exactly as said.
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
For level 4, should I bother trying to understand the source code or should I just look for something really clever since it's supposedly "right under our noses"
 

JW310

Golden Member
Oct 30, 1999
1,582
0
0
Originally posted by: AznMaverick
how do i get mocha to work in win2k? i read the help file but how do you set classpath?

open up a command prompt window and type "SET CLASSPATH=..."

JW
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Level 4:
pwd = prompt("Please enter the password for level 3:","");^M
if (pwd==PASSWORD){^M
alert("Allright!\nEntering Level 4 ...");^M
location.href = CORRECTSITE;^M
}^M
else {^M
alert("WRONG!\nBack to disneyland !!!");^M
location.href = WRONGSITE;^M
}^M
PASSWORD="AbCdE";^M
CORRECTSITE="level4-sfvfxc.xhtml";^M
WRONGSITE="http://www.disney.com";^M


Except it isn't working for me.
 

AznMaverick

Platinum Member
Apr 4, 2001
2,776
0
0
Originally posted by: JW310
Originally posted by: AznMaverick
how do i get mocha to work in win2k? i read the help file but how do you set classpath?

open up a command prompt window and type "SET CLASSPATH=..."

JW

ok, did that, but the command "java mocha.Decompiler [-v] [-o] Class1.class" doesn't work.
EDIT: NM stupid mistake...
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
Originally posted by: n0cmonkey
Level 4:
pwd = prompt("Please enter the password for level 3:","");^M
if (pwd==PASSWORD){^M
alert("Allright!\nEntering Level 4 ...");^M
location.href = CORRECTSITE;^M
}^M
else {^M
alert("WRONG!\nBack to disneyland !!!");^M
location.href = WRONGSITE;^M
}^M
PASSWORD="AbCdE";^M
CORRECTSITE="level4-sfvfxc.xhtml";^M
WRONGSITE="http://www.disney.com";^M


Except it isn't working for me.


Scroll up and read my HUGE hint that supposedly gave it all away.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: TallBill
Lol n0c.. yer goin about it all wrong :p

If it involves decompiling or more than 3 minutes worth of thought, I'm not interrested :p

More trouble than it's worth. ;)
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
ok... for Level 5,


I got this VB3 Discompiler by Dodi, but I'm having trouble getting it to work since apparently I don't have Visual Basic 3.0 installed on my system (go figure). I did install the VB300.dll onto my computer and apparently that wasn't enough.

Anyone I suggest you guys search google for Discompiler and Dodi and if you can get it to work, please PM me.
 

JW310

Golden Member
Oct 30, 1999
1,582
0
0
Ignore the popup that comes up that says "Visual Basic not found"... just click 'OK'... worked fine for me after doing that


JW
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
Originally posted by: JW310
Ignore the popup that comes up that says "Visual Basic not found"... just click 'OK'... worked fine for me after doing that


JW

(it will display "Now save *.FRM as text, please"), you should run VB, load the created MAK file (don't care about possible error messages) and save all forms as text. This step is unfortunately necessary, since it is often impossible to create the forms as text without a little help from the custom controls (VBX).

How did u get past that?
 

JW310

Golden Member
Oct 30, 1999
1,582
0
0
Originally posted by: Karaethon1
Originally posted by: JW310
Ignore the popup that comes up that says "Visual Basic not found"... just click 'OK'... worked fine for me after doing that


JW

(it will display "Now save *.FRM as text, please"), you should run VB, load the created MAK file (don't care about possible error messages) and save all forms as text. This step is unfortunately necessary, since it is often impossible to create the forms as text without a little help from the custom controls (VBX).

How did u get past that?

Just ignored it.... won't need the .FRM file to solve this one... just one of the module files and a text file that's created...


JW
 

Stojakapimp

Platinum Member
Jun 28, 2002
2,184
0
0
You don't even need to decompile for level 4. There is a file called /level4. Just read the source code on that
 

Karaethon1

Senior member
Aug 22, 2001
439
0
0
Originally posted by: Stojakapimp
You don't even need to decompile for level 4. There is a file called /level4. Just read the source code on that

But you're not supposed to know that unless you decompile the code
 

TallBill

Lifer
Apr 29, 2001
46,017
62
91
Originally posted by: Stojakapimp
You don't even need to decompile for level 4. There is a file called /level4. Just read the source code on that

Ruiner.. decompiling helps you find that file though. Anways, going to bust out my vb books for lvl 5. I know how to solve it. just gotta peice it together now.