| 
   
  
  
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
nubbi
 offline
 
  
  
 OC God 22 Jahre dabei !
  | 
             
 
hab mir jeztt nen decompiler für Java-applets gesaugt... das kommt raus: 
 Code// Decompiled by DJ v3.5.5.77 Copyright 2003 Atanas Neshkov  Date: 25.02.2004 16:05:12  // Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!  // Decompiler options: packimports(3) lnc  // Source File Name:   PasswdLevel4.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.*;  import java.net.MalformedURLException;  import java.net.URL;  import java.util.EventObject;    public class PasswdLevel4 extends Applet      implements ActionListener  {                public PasswdLevel4()              {  /*  17*/        inuser = new String[22];  /*  18*/        totno = 0;  /*  19*/        countConn = null;  /*  20*/        countData = null;  /*  21*/        inURL = null;  /*  22*/        txtlogin = new TextField();  /*  23*/        label1 = new Label();  /*  24*/        label2 = new Label();  /*  25*/        label3 = new Label();  /*  26*/        txtpass = new TextField();  /*  27*/        lblstatus = new Label();  /*  28*/        ButOk = new Button();  /*  29*/        ButReset = new Button();  /*  30*/        lbltitle = new Label();              }                void ButOk_ActionPerformed(ActionEvent actionevent)              {  /*  35*/        boolean flag = false;  /*  36*/        for(int i = 1; i <= totno / 2; i++)  /*  37*/            if(txtlogin.getText().trim().toUpperCase().intern() == inuser[2 * (i - 1) + 2].trim().toUpperCase().intern() && txtpass.getText().trim().toUpperCase().intern() == inuser[2 * (i - 1) + 3].trim().toUpperCase().intern())                      {  /*  39*/                lblstatus.setText("Login Success, Loading..");  /*  40*/                flag = true;  /*  41*/                String s = inuser[1].trim().intern();  /*  42*/                String s1 = getParameter("targetframe");  /*  43*/                if(s1 == null)  /*  44*/                    s1 = "_self";  /*  45*/                try                          {  /*  45*/                    finalurl = new URL(getCodeBase(), s);                          }  /*  49*/                catch(MalformedURLException _ex)                          {  /*  51*/                    lblstatus.setText("Bad URL");                          }  /*  53*/                getAppletContext().showDocument(finalurl, s1);                      }    /*  56*/        if(!flag)  /*  57*/            lblstatus.setText("Invaild Login or Password");              }                void ButReset_ActionPerformed(ActionEvent actionevent)              {  /*  62*/        txtlogin.setText("");  /*  63*/        txtpass.setText("");              }                public void actionPerformed(ActionEvent actionevent)              {  /*  68*/        Object obj = actionevent.getSource();  /*  69*/        if(obj == ButOk)                  {  /*  70*/            ButOk_ActionPerformed(actionevent);  /*  69*/            return;                  }  /*  72*/        if(obj == ButReset)  /*  73*/            ButReset_ActionPerformed(actionevent);              }                public void destroy()              {  /*  78*/        ButOk.setEnabled(false);  /*  79*/        ButReset.setEnabled(false);  /*  80*/        txtlogin.setVisible(false);  /*  81*/        txtpass.setVisible(false);              }                public void inFile()              {  /*  86*/        new StringBuffer();  /*  89*/        try                  {  /*  89*/            countConn = inURL.openStream();  /*  92*/            countData = new BufferedReader(new InputStreamReader(countConn));                      String s;  /*  95*/            while((s = countData.readLine()) != null)  /*  95*/                if(totno < 21)                          {  /*  97*/                    totno = totno + 1;  /*  98*/                    inuser[totno] = s;  /*  99*/                    s = "";                          } else                          {  /* 104*/                    lblstatus.setText("Cannot Exceed 10 users, Applet fail start!");  /* 105*/                    destroy();                          }                  }  /* 109*/        catch(IOException ioexception)                  {  /* 111*/            getAppletContext().showStatus("IO Error:" + ioexception.getMessage());                  }  /* 113*/        try                  {  /* 113*/            countConn.close();  /* 116*/            countData.close();  /* 113*/            return;                  }  /* 118*/        catch(IOException ioexception1)                  {  /* 120*/            getAppletContext().showStatus("IO Error:" + ioexception1.getMessage());                  }              }                public void init()              {  /* 126*/        setLayout(null);  /* 127*/        setSize(361, 191);  /* 128*/        add(txtlogin);  /* 129*/        txtlogin.setBounds(156, 72, 132, 24);  /* 130*/        label1.setText("Please Enter Login Name & Password");  /* 131*/        label1.setAlignment(1);  /* 132*/        add(label1);  /* 133*/        label1.setFont(new Font("Dialog", 1, 12));  /* 134*/        label1.setBounds(41, 36, 280, 24);  /* 135*/        label2.setText("Login");  /* 136*/        add(label2);  /* 137*/        label2.setFont(new Font("Dialog", 1, 12));  /* 138*/        label2.setBounds(75, 72, 36, 24);  /* 139*/        label3.setText("Password");  /* 140*/        add(label3);  /* 141*/        add(txtpass);  /* 142*/        txtpass.setEchoChar('*');  /* 143*/        txtpass.setBounds(156, 108, 132, 24);  /* 144*/        lblstatus.setAlignment(1);  /* 145*/        label3.setFont(new Font("Dialog", 1, 12));  /* 146*/        label3.setBounds(75, 108, 57, 21);  /* 147*/        add(lblstatus);  /* 148*/        lblstatus.setFont(new Font("Dialog", 1, 12));  /* 149*/        lblstatus.setBounds(14, 132, 344, 24);  /* 150*/        ButOk.setLabel("OK");  /* 151*/        add(ButOk);  /* 152*/        ButOk.setFont(new Font("Dialog", 1, 12));  /* 153*/        ButOk.setBounds(105, 156, 59, 23);  /* 154*/        ButReset.setLabel("Reset");  /* 155*/        add(ButReset);  /* 156*/        ButReset.setFont(new Font("Dialog", 1, 12));  /* 157*/        ButReset.setBounds(204, 156, 59, 23);  /* 158*/        lbltitle.setAlignment(1);  /* 159*/        add(lbltitle);  /* 160*/        lbltitle.setFont(new Font("Dialog", 1, 12));  /* 161*/        lbltitle.setBounds(12, 14, 336, 24);  /* 162*/        String s = getParameter("title");  /* 163*/        lbltitle.setText(s);  /* 164*/        ButOk.addActionListener(this);  /* 165*/        ButReset.addActionListener(this);  /* 166*/        infile = new String("level4");  /* 167*/        try                  {  /* 167*/            inURL = new URL(getCodeBase(), infile);                  }  /* 171*/        catch(MalformedURLException _ex)                  {  /* 173*/            getAppletContext().showStatus("Bad Counter URL:" + inURL);                  }  /* 175*/        inFile();              }                private URL finalurl;              String infile;              String inuser[];              int totno;              InputStream countConn;              BufferedReader countData;              URL inURL;              TextField txtlogin;              Label label1;              Label label2;              Label label3;              TextField txtpass;              Label lblstatus;              Button ButOk;              Button ButReset;              Label lbltitle;  }  |       kann leider kein java ^^ kann nur erkennen, dass das passwort aus dem angegebenen benutzernamen berechnet wird... [glaube ich zumindest ] aber in welcher weise kann ich nicht sagen 8[    nubbi
 |  
 
Beiträge gesamt: 2820 | Durchschnitt: 0 Postings pro Tag Registrierung: Mai 2003 | Dabei seit: 8221 Tagen | Erstellt: 16:05 am 25. Feb. 2004
 |  
 
 | 
 
 
 
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
| 
 | 
 
 
 
 
  
   | 
   
   
   |