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 |
|||
20.04.2007 13:49:53 |
|
|||
quangntenemy |
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. |
|||
20.04.2007 14:28:28 |
|
|||
alt3rn4tiv3 |
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? |
|||
20.04.2007 14:56:30 |
|
|||
sniperkid |
Can someone help me with my maths homework, my teacher said it has logical referrences as well . 29539253 · 206299526 + 135349832 Silly noobs . |
|||
20.04.2007 15:45:02 |
|
|||
moose |
@Sniperkid: for some strange reasons I have that homework too |
|||
20.04.2007 17:46:31 |
|
|||
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! |
|||
20.04.2007 17:50:08 |
|
|||
moose |
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 | ||||
20.04.2007 18:01:24 |
|
|||
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! |
|||
20.04.2007 18:19:37 |
|
|||
unknown user |
nein |
|||
20.04.2007 21:58:43 |
|
|||
moose |
Starfleet Academy was my first challenge site !!! I'm so happy that I found it again 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 | ||||
20.04.2007 22:19:01 |
|