Hi.
im new here so hi all.
can anyone give me the password for this
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov Date: 13/01/2006 16:55:39
// Home Page :
http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: Challenge3.java
import java.applet.Applet;
import java.applet.AppletContext;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URL;
public class Challenge3 extends Applet
implements ActionListener
{
public void stop()
{
}
public Challenge3()
{
SubmitButton = null;
PasswordField = null;
SubmitButton = null;
PasswordField = null;
SubmitButton = new Button();
PasswordField = new TextField("", 8);
}
public void destroy()
{
}
public void actionPerformed(ActionEvent actionevent)
{
String s = PasswordField.getText();
String s1 = "";
String s2 = getDocumentBase().toString();
String s3 = decrypt("wpy1tmv");
s = encrypt(s);
s2 = s2.substring(0, s2.lastIndexOf('/') + 1);
if(s.compareTo("AoGdw~Vh{|\201z~q") == 0)
s1 = s2 + s3;
else
s1 = s2 + "level103.php";
try
{
getAppletContext().showDocument(new URL(s1), "_self");
}
catch(Exception exception)
{
exception.printStackTrace();
}
}
public void start()
{
}
private String encrypt(String s)
{
String s1 = "";
for(int i = 0; i < s.length(); i++)
s1 = s1 + "" + (char)(s.charAt(i) + i);
return s1;
}
public void init()
{
SubmitButton.setLabel("submit");
SubmitButton.addActionListener(this);
PasswordField.setEchoChar('*');
PasswordField.setForeground(new Color(192, 192, 192));
add(PasswordField);
add(SubmitButton);
setBackground(new Color(0, 0, 0));
}
private String decrypt(String s)
{
String s1 = "";
for(int i = 0; i < s.length(); i++)
s1 = s1 + "" + (char)(s.charAt(i) - i);
return s1;
}
private Button SubmitButton;
private TextField PasswordField;
}