⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chatserver_aggressive.jad

📁 《透视Java》的源码
💻 JAD
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   d.java

package covertjava.chat;

import covertjava.a.b;
import java.io.PrintStream;
import java.net.InetAddress;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;

// Referenced classes of package covertjava.chat:
//            b, MessageInfo, c

public class d extends UnicastRemoteObject
    implements covertjava.chat.b
{

    protected d()
        throws Exception
    {
        b = 1149;
    }

    public static d a()
        throws Exception
    {
        a;
        if(MessageInfo.c) goto _L2; else goto _L1
_L1:
        JVM INSTR ifnonnull 22;
           goto _L3 _L4
_L3:
        break MISSING_BLOCK_LABEL_12;
_L4:
        break MISSING_BLOCK_LABEL_22;
        a = new d();
        a;
_L2:
        return;
    }

    public void b()
        throws Exception
    {
        System.out.println(a("\033+}@\1773)}N\177<\"4@~7ew\\w&egQd$ f\0328|"));
        String s = System.getProperty(a("1-u@8! fBs \025{Fb"));
        if(!MessageInfo.c)
        {
            if(s != null)
                b = Integer.parseInt(s);
            c = a(b);
        }
        java.rmi.Remote remote = null;
        String s1 = String.valueOf(String.valueOf((new StringBuffer(a("}j%\006!|u:\0048c\177"))).append(b).append(a("}&|Ub! fBs "))));
        try
        {
            remote = Naming.lookup(s1);
        }
        catch(Exception exception) { }
        if(remote != null)
        {
            throw new Exception(a("\023+{@~774]x!1uZu7e{R6\021-u@W\"5x]u31}[xr,g\024w>7qUr+efAx<,zS6=+4@~;64Yw1-}Zs"));
        } else
        {
            Naming.rebind(s1, this);
            e = InetAddress.getLocalHost().getHostName();
            f = System.getProperty(a("'6qF8<$yQ"));
            System.out.println(a("\021-u@W\"5x]u31}[xr6qF`774]x;1}Uz;?qP"));
            return;
        }
    }

    public void a(String s, String s1)
        throws Exception
    {
        boolean flag = MessageInfo.c;
        s;
        if(flag) goto _L2; else goto _L1
_L1:
        JVM INSTR ifnull 29;
           goto _L3 _L4
_L3:
        s.trim();
_L2:
        if(flag) goto _L6; else goto _L5
_L5:
        length();
        JVM INSTR ifne 42;
           goto _L4 _L7
_L4:
        throw new Exception(a("\002)qUe7egDs1,rM6:*g@6<$yQ"));
_L7:
        System.out.println(String.valueOf(String.valueOf((new StringBuffer(a("\001 zP\177<\"4Ys!6uSsr1{\024~=6`\024"))).append(s).append(a("he")).append(s1))));
        String.valueOf(String.valueOf((new StringBuffer(a("}j"))).append(s).append(":").append(b).append(a("}&|Ub! fBs "))));
_L6:
        String s2;
        s2;
        covertjava.chat.b b1 = (covertjava.chat.b)Naming.lookup(s2);
        MessageInfo messageinfo = new MessageInfo(e, f);
        b1.receiveMessage(s1, messageinfo);
        System.out.println(a("\037 gGw5 4Gs<14@yr-{Gbr").concat(String.valueOf(String.valueOf(s))));
        if(flag)
            b.c = !b.c;
        return;
    }

    public void a(c c1)
    {
        d = c1;
    }

    public Registry a(int i)
        throws Exception
    {
        System.out.println(a("\0067m]x5e`[65 `\024b: 4Fs5,g@d+e{Z6\"*f@6").concat(String.valueOf(String.valueOf(i))));
        Registry registry = null;
        try
        {
            registry = LocateRegistry.getRegistry(i);
            registry.list();
        }
        catch(Exception exception)
        {
            System.out.println(a("\000 s]e&7m\024a364Zy&efAx<,zS:r1fM\177<\"4@yr&fQw& 4[x7k:\032"));
            registry = LocateRegistry.createRegistry(i);
            registry.list();
        }
        return registry;
    }

    public void receiveMessage(String s, MessageInfo messageinfo)
        throws RemoteException
    {
        System.out.println(a("\000 wQ\177$ p\024{76gUq7erFy?e|[e&e").concat(String.valueOf(String.valueOf(messageinfo.a()))));
        d;
        if(MessageInfo.c) goto _L2; else goto _L1
_L1:
        JVM INSTR ifnull 48;
           goto _L3 _L4
_L3:
        d;
_L2:
        s;
        messageinfo;
        a();
_L4:
    }

    private static String a(String s)
    {
        char ac[];
        int i;
        int j;
        ac = s.toCharArray();
        i = ac.length;
        j = 0;
        if(i > 1) goto _L2; else goto _L1
_L1:
        ac;
        j;
_L10:
        JVM INSTR dup2 ;
        JVM INSTR caload ;
        j % 5;
        JVM INSTR tableswitch 0 3: default 72
    //                   0 52
    //                   1 57
    //                   2 62
    //                   3 67;
           goto _L3 _L4 _L5 _L6 _L7
_L4:
        0x52;
          goto _L8
_L5:
        69;
          goto _L8
_L6:
        20;
          goto _L8
_L7:
        52;
          goto _L8
_L3:
        22;
_L8:
        JVM INSTR ixor ;
        (char);
        JVM INSTR castore ;
        j++;
        if(i != 0) goto _L2; else goto _L9
_L9:
        ac;
        i;
          goto _L10
_L2:
        if(j >= i)
            return new String(ac);
        if(true) goto _L1; else goto _L11
_L11:
    }

    protected static d a;
    protected int b;
    protected Registry c;
    c d;
    String e;
    String f;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -