Topic: "Java Passwordprotection" (page 1 of 2)

1 2 >
Author Post
unknown user
Hello!

I play another hackit and wondered if somebody an help me with a javaprotection. I just got the javasource but i´ve no ide how to get to the password!
Here is the source:


// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov Date: 18.04.2007 16:28:46
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: Pwd.java

import java.applet.Applet;
import java.applet.AppletContext;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.PrintStream;
import java.net.URL;

public class Pwd extends Applet
implements Runnable, ActionListener
{

public Pwd()
{
l = new Label("Passwort");
tf = new TextField();
li = new Button("Enter");
p = "event.Action";
}

public void actionPerformed(ActionEvent actionevent)
{
try
{
if(p.equals(tf.getText()))
getAppletContext().showDocument(new URL(getDocumentBase(), p + ".htm"), "_self");
else
getAppletContext().showDocument(new URL(getDocumentBase(), "button.htm"), "_self");
}
catch(Exception exception)
{
System.out.println(exception);
}
}

public void init()
{
Panel panel = new Panel();
setForeground(Color.black);
panel.setLayout(new BorderLayout(10, 10));
panel.setSize(200, 25);
panel.setLocation(0, 3);
panel.add(l, "West");
panel.add(tf, "Center");
setLayout(null);
add(panel);
li.setSize(100, 25);
li.setLocation(50, 70);
add(li);
li.addActionListener(this);
}

public void run()
{
}

public void start()
{
if(th == null)
{
th = new Thread(this);
th.start();
}
}

public void stop()
{
if(th != null)
{
th.interrupt();
th = null;
}
}

private Label l;
private TextField tf;
private Button li;
private Thread th;
private String p;
}


THX to everybody, who is helping!

John Bilbo
EMail
quangntenemy
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
Sorry, can't help until I can be sure that you're not violating any hackit rules - just like the noobs here who are always asking for help from other sites.
private message EMail Website
alt3rn4tiv3
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
What makes you think that if you won't get the answer by asking it on the place you got it from, you'll get the answer by asking it here? ;)
private message EMail Website
sniperkid
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
Can someone help me with my maths homework, my teacher said it has logical referrences as well :D.

29539253 · 206299526 + 135349832 :p

Silly noobs :wall:.

private message Website
moose
groupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
@Sniperkid: for some strange reasons I have that homework too :D
private message EMail Website
unknown user
I´m sorry, but i´ve got the whole game without help until the 13th level, where it´s nessesary to have Java - knowlege!
EMail
moose
groupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
then learn java ... btw. which site do you mean?

if you know any programming language, it should be no problem to solve this. most of these challenges are very easy.
i translate them always to php (my favorite language atm) and then i try to solve them.
the only problems you get with this method are exceptions and Brainfuck ;)
Edited by moose on 20.04.2007 18:04:14
private message EMail Website
unknown user
The Site is ISATCIS!
I learned a bit delphi, JavaScript, html and at least a little bit C++!
I´m not quiet sure...
AppletContext means the server URL so i donß t know weather it has something to do with the server...

Please help!
EMail
unknown user
nein
EMail
moose
groupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
linkStarfleet Academy was my first challenge site !!! I'm so happy that I found it again :D

and no, I will not help you

edit... well ... much easier than i had in mind ... I got better ....
2 minutes to level 8, after 5 minutes googling lvl 16...
Edited by moose on 20.04.2007 22:37:28
private message EMail Website

Topic: "Java Passwordprotection" (page 1 of 2)

1 2 >