APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:SSH T PROJECT VPN
版本号:3.1.2
包名称:app.sshtproject

MD5 校验值:d47de9d0b292a5cbd7377502c33607ba

反编译源代码说明

c.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package f5;

import android.text.TextUtils;
import java.io.Serializable;
import java.util.Locale;

public final class c implements Serializable, Cloneable {

    public boolean f2689w;

    public String f2679m = "127.0.0.1";

    public String f2680n = "2589";

    public boolean f2681o = true;

    public String f2682p = "";

    public boolean f2683q = false;

    public boolean f2684r = true;

    public int f2685s = 0;

    public int f2686t = 2;

    public String f2687u = "127.0.0.1";

    public String f2688v = "2589";

    public String f2690x = null;

    public String f2691y = null;

    public final c clone() {
        return (c) super.clone();
    }

    public final String b() {
        StringBuilder sb;
        String str;
        String str2 = (("remote " + this.f2679m) + " ") + this.f2680n;
        if (this.f2681o) {
            sb = new StringBuilder();
            sb.append(str2);
            str = " udp\n";
        } else {
            sb = new StringBuilder();
            sb.append(str2);
            str = " tcp-client\n";
        }
        sb.append(str);
        String sb2 = sb.toString();
        if (this.f2685s != 0) {
            sb2 = sb2 + String.format(Locale.US, " connect-timeout  %d\n", Integer.valueOf(this.f2685s));
        }
        if (c() && this.f2686t == 2) {
            StringBuilder sb3 = new StringBuilder();
            sb3.append(sb2);
            Locale locale = Locale.US;
            sb3.append(String.format(locale, "http-proxy %s %s\n", this.f2687u, this.f2688v));
            String sb4 = sb3.toString();
            if (this.f2689w) {
                sb2 = sb4 + String.format(locale, "<http-proxy-user-pass>\n%s\n%s\n</http-proxy-user-pass>\n", this.f2690x, this.f2691y);
            } else {
                sb2 = sb4;
            }
        }
        if (c() && this.f2686t == 3) {
            sb2 = sb2 + String.format(Locale.US, "socks-proxy %s %s\n", this.f2687u, this.f2688v);
        }
        if (TextUtils.isEmpty(this.f2682p) || !this.f2683q) {
            return sb2;
        }
        return (sb2 + this.f2682p) + "\n";
    }

    public final boolean c() {
        return this.f2683q && this.f2682p.contains("http-proxy-option ");
    }
}