畅玩新葡京 v8.2.8版本的 MD5 值为:1e36e0a7adef719a26e0a466b52c398d

以下内容为反编译后的 a.java 源代码,内容仅作参考


package com.xiongmao.security.xiongmao.android.sdk.traceroute;

import android.content.Context;
import com.alipay.sdk.util.g;
import com.xiongmao.security.xiongmao.android.sdk.traceroute.XMNetTraceRoute;
import com.xiongmao.security.xiongmao.android.sdk.traceroute.c;
import com.xiongmao.security.xiongmao.android.sdk.traceroute.d;
import java.net.InetAddress;
public class a implements XMNetTraceRoute.a, c.b, d.a {
    private String a;
    private String b;
    private b c;
    private Context d;
    private InetAddress e;
    private final StringBuilder f = new StringBuilder(1024);

    public a() {
    }

    public a(Context context, String str, String str2, b bVar) {
        this.d = context;
        this.a = str;
        this.b = str2;
        this.c = bVar;
    }

    private void b() {
        String str;
        String a = e.a(this.d);
        d("\"NetType\":\"" + a + "\"");
        if (e.b(this.d).booleanValue()) {
            if (e.c.equals(a)) {
                d(", \"LocalIP\":\"" + e.d(this.d) + "\"");
                str = ", \"Gateway\":\"" + e.e(this.d) + "\"";
            } else {
                d(", \"LocalIP\":\"" + e.a() + "\"");
                str = ", \"Gateway\":\"127.0.0.1\"";
            }
            d(str);
            d(", \"DnsServers\":[{\"1\":\"" + e.a("dns1") + "\"}, {\"2\":\"" + e.a("dns2") + "\"}]");
            StringBuilder sb = new StringBuilder();
            sb.append(", \"Domain\":\"");
            sb.append(this.a);
            sb.append("\"");
            d(sb.toString());
            e(this.a);
            d(", \"RemotePort\":\"" + this.b + "\"");
        }
    }

    private void d(String str) {
        this.f.append(str);
    }

    private void e(String str) {
        String str2;
        this.e = e.b(str);
        if (this.e != null) {
            str2 = ", \"RemoteIP\":\"" + this.e.getHostAddress() + "\"";
        } else {
            str2 = ", \"RemoteIP\":\"0.0.0.0\"";
        }
        d(str2);
    }

    public String a() {
        if (this.a == "") {
            return "";
        }
        d("{ ");
        b();
        if (e.b(this.d).booleanValue()) {
            new d(this.e, this).a(this.a, this.b);
            new c(11, this).a(this.a, false);
            new XMNetTraceRoute(this).a(this.a);
        }
        d(g.d);
        if (this.c != null) {
            this.c.a(this.f.toString());
        }
        return this.f.toString();
    }

    @Override
    public void a(String str) {
        d(str);
    }

    @Override
    public void b(String str) {
        d(str);
    }

    @Override
    public void c(String str) {
        d(str);
    }
}