360 Wi-Fi v1.0.1版本的 MD5 值为:53dc85b63eb655b13344ce30ddaccae2

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


package com.my.target;

import IiLIIlIilLIli.llLiiILlllII;
import android.content.Context;
import android.os.Build;
import android.util.Base64;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.my.target.common.MyTargetVersion;
import java.nio.charset.Charset;
import org.json.JSONObject;
public class z4 {
    public static boolean h = true;
    @NonNull
    public static String f3336i = "https://ad.mail.ru/sdk/log/";
    @NonNull
    public final String a;
    @NonNull
    public final String b;
    @Nullable
    public String c;
    public int d;
    @Nullable
    public String e;
    @Nullable
    public String f;
    @Nullable
    public String g;

    public z4(@NonNull String str, @NonNull String str2) {
        this.a = str;
        this.b = str2;
    }

    @NonNull
    public z4 a(int i2) {
        this.d = i2;
        return this;
    }

    @NonNull
    public z4 b(@Nullable String str) {
        this.e = str;
        return this;
    }

    @NonNull
    public z4 c(@Nullable String str) {
        this.f = str;
        return this;
    }

    @NonNull
    public z4 d(@Nullable String str) {
        this.g = str;
        return this;
    }

    @NonNull
    public z4 e(@Nullable String str) {
        this.c = str;
        return this;
    }

    @NonNull
    public static z4 a(@NonNull String str) {
        return new z4(str, "error");
    }

    public void b(@NonNull Context context) {
        c0.b(new llLiiILlllII(2, this, context));
    }

    @NonNull
    public String a() {
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put("sdk", "myTarget");
            jSONObject.put("sdkver", MyTargetVersion.VERSION);
            jSONObject.put("os", "Android");
            jSONObject.put("osver", Build.VERSION.RELEASE);
            jSONObject.put("type", this.b);
            jSONObject.put("name", this.a);
            String str = this.c;
            if (str != null) {
                jSONObject.put("message", str);
            }
            int i2 = this.d;
            if (i2 > 0) {
                jSONObject.put("slot", i2);
            }
            String str2 = this.e;
            if (str2 != null) {
                jSONObject.put("url", str2);
            }
            String str3 = this.f;
            if (str3 != null) {
                jSONObject.put("bannerId", str3);
            }
            String str4 = this.g;
            if (str4 != null) {
                jSONObject.put("data", str4);
            }
        } catch (Throwable unused) {
        }
        return jSONObject.toString();
    }

    public void a(Context context) {
        String a = a();
        ca.a("send message to log:\n " + a);
        if (h) {
            z1.a().a(f3336i, Base64.encodeToString(a.getBytes(Charset.forName("UTF-8")), 0), context);
        }
    }
}