1
   

Can anyone solve this?

 
 
Reply Fri 13 Jan, 2006 10:56 am
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;
}
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 1,303 • Replies: 9
No top replies

 
hacker159
 
  1  
Reply Sun 15 Jan, 2006 05:49 am
i know that the password is AoGdw~Vh{|\201z~q but i cant figure out how to decrypt it.
i know that the decrypt code is:
private String decrypt(String s)
{
String s1 = "";
for(int i = 0; i < s.length(); i++)
s1 = s1 + "" + (char)(s.charAt(i) - i);

return s1;
but i cant figure out what to do with it, if that makes sense! Exclamation
0 Replies
 
zerone
 
  1  
Reply Sun 15 Jan, 2006 06:04 am
reverse it Smile
0 Replies
 
hacker159
 
  1  
Reply Sun 15 Jan, 2006 06:13 am
how do i do that cant figure it out. please help me.
0 Replies
 
markr
 
  1  
Reply Sun 15 Jan, 2006 12:54 pm
It's an easy password.
0 Replies
 
hacker159
 
  1  
Reply Mon 16 Jan, 2006 10:25 am
can you tell me what i have to do to the characters in the password to decrypt it?
0 Replies
 
markr
 
  1  
Reply Mon 16 Jan, 2006 10:32 am
Subtract the offset of each character from itself, but I already gave you the answer, sort of.
0 Replies
 
hacker159
 
  1  
Reply Mon 16 Jan, 2006 11:05 am
oh got it thanks. i cnt belive i didnt c it earlier
0 Replies
 
mixalotdj
 
  1  
Reply Sat 11 Feb, 2006 07:47 am
if you revers enginear it you get this
the pass word is a null value the pass word decrypit sequence is a mask and the dycryption sequence tells you that the pass word for the deceryption sequence is the the same for the pw so the pw is


G-ADOS035/B
0 Replies
 
graemedaulby
 
  1  
Reply Fri 17 Feb, 2006 12:53 pm
no-seriosly this time it is not real. i am sure you're just making it up
0 Replies
 
 

Related Topics

Alternative Einstein's riddle answer - Discussion by cedor
Urgent !!! Puzzle / Riddle...Plz helpp - Question by zuzusheryl
Bottle - Question by Megha
"The World's Hardest Riddle" - Discussion by maxlovesmarie
Hard Riddle - Question by retsgned
Riddle Time - Question by Teddy Isaiah
riddle me this (easy) - Question by gree012
Riddle - Question by georgio7
Trick Question I think! - Question by sophocles
Answer my riddle - Question by DanDMan52
 
  1. Forums
  2. » Can anyone solve this?
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 11/10/2024 at 03:36:59