Esta en jar. trate de decomipilarlo, pero contiene muchos class adentro (que es ovbio porque es un jar verdad?)
estuve en modo snif para saber que es lo que necesita de internet y consegui esto
GET /darkorbit/50231516 HTTP/1.1
User-Agent: Java/1.6.0_18
Host: profibot.net
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
HTTP/1.1 200 OK
Date: Sat, 08 May 2010 14:58:46 GMT
Server: Apache/2.0.63 (FreeBSD) PHP/5.2.12
X-Powered-By: PHP/5.2.12
Set-Cookie: PHPSESSID=3bt8itplapppej149m5mq51hj2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 37
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
=8:;9=9>&:89858=58A(9:B<9B<@&?@9@:888
lo que me hace pensar que la ultima cadena es lo que en verdad importa, pero al parecer esta cifrado.
estuve buscan la funcion class que se encarga de el tiempo de licencia y aparece algo como esto
Código:
package darkorbit;
import java.awt.Dimension;
import java.util.ResourceBundle;
import javax.swing.*;
// Referenced classes of package darkorbit:
// aA
public final class av extends JPanel
{
public av()
{
b = new JLabel((new StringBuilder()).append(aA.a.getString("licenceTo")).append(":").toString());
a = new JLabel();
setPreferredSize(new Dimension(100, 20));
setLayout(new BoxLayout(this, 0));
add(Box.createHorizontalGlue());
setBorder(BorderFactory.createRaisedBevelBorder());
add(b);
add(Box.createHorizontalStrut(5));
add(a);
a();
}
public final void a()
{
a.setText("undefined");
}
private JLabel b;
JLabel a;
}
Código:
package darkorbit;
import a.a;
import a.b;
import java.io.PrintStream;
import java.util.Iterator;
import java.util.List;
// Referenced classes of package darkorbit:
// I, K, O, S,
// aA, aB, aC, ah
public final class ap
implements aB
{
public ap(String s, String s1, String s2, int i, String s3, long l,
int j, boolean flag, boolean flag1, boolean flag2)
{
a = new aA(this);
s2 = (s2 = new a(s2, 1)).a();
String s4 = null;
s2 = s2.iterator();
do
{
if(!s2.hasNext())
break;
Object obj;
if(((b)(obj = s2.next())).a() != i)
continue;
s4 = ((b)obj).c();
break;
} while(true);
a.i.c(s4);
a.i.c(8080);
a.i.a(s);
a.i.b(s1);
a.i.a();
a.j.start();
a.n.start();
a.q.start();
System.out.println((new StringBuilder()).append("License: ").append(s3).toString());
switch(j)
{
case 1: // '\001'
long l1 = 0L;
s = a.l;
a.l.b = l1;
break;
case 2: // '\002'
long l2 = l;
s = a.l;
a.l.b = l2;
break;
}
a.l.start();
if(j == 0)
break MISSING_BLOCK_LABEL_373;
System.out.println("Waiting to connect...");
_L3:
if(a.i.a != null) goto _L2; else goto _L1
_L1:
Thread.sleep(100L);
goto _L3
JVM INSTR dup ;
s2;
printStackTrace();
goto _L3
_L2:
System.out.println("Started");
a.k.f = flag;
a.k.d = flag1;
a.k.e = flag2;
a.k.start();
}
public final void a(int i)
{
switch(i)
{
case 1: // '\001'
System.out.println("Error : no hitpoints");
break;
case 8: // '\b'
System.out.println("Error : invalid map");
break;
case 3: // '\003'
System.out.println("Error : double logged in");
break;
case 4: // '\004'
System.out.println("Error : invalid session");
break;
case 2: // '\002'
case 5: // '\005'
case 6: // '\006'
case 7: // '\007'
default:
System.out.println("Error");
break;
}
((ap) (i = this)).a.a();
}
private aA a;
}
es con el decompilador... :S necesesito saber por donde empezar