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

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

MD5 校验值:5ef3f775189f42f146cf0788a99eebd7

反编译源代码说明

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


package y3;

import android.annotation.SuppressLint;
import android.content.Context;
import android.os.AsyncTask;
import com.callerid.block.bean.EZBlackList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONObject;

public class r {

    public static class a extends AsyncTask<Object, Void, Object> {

        private final String f34798a;

        private final String f34799b;

        private final String f34800c;

        private final String f34801d;

        private final String f34802e;

        private final String f34803f;

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

        public a(Context context, String str, String str2, String str3, String str4, String str5, String str6) {
            this.f34798a = str;
            this.f34799b = str2;
            this.f34800c = str3;
            this.f34801d = str4;
            this.f34802e = str5;
            this.f34803f = str6;
            this.f34804g = context;
        }

        @Override
        public String doInBackground(Object[] objArr) {
            String H = r1.H(this.f34804g);
            String D = r1.D(this.f34804g, H);
            if (a0.f34733a) {
                a0.a("spamlist", "所有参数:\ncount:" + this.f34798a + "\ncc:" + this.f34799b + "\nplatform:" + this.f34800c + "\npackagename:" + this.f34801d + "\nuid:" + H + "\nversion:" + this.f34802e + "\nstamp:" + D + "\ncountry:" + this.f34803f + "\n");
            }
            String str = null;
            try {
                HashMap hashMap = new HashMap();
                hashMap.put("count", this.f34798a);
                hashMap.put("cc", this.f34799b);
                hashMap.put("platform", this.f34800c);
                hashMap.put("package", this.f34801d);
                hashMap.put("version", this.f34802e);
                hashMap.put("uid", H);
                hashMap.put("stamp", D);
                hashMap.put("country", this.f34803f);
                String b10 = w.b("https://app.ayamote.com/proc/v1/geoffda.php", hashMap, "utf-8");
                if (a0.f34733a) {
                    a0.a("spamlist", "result=" + b10);
                }
                str = u.b(b10);
                if (a0.f34733a) {
                    a0.c("spamlist", "enlode_result=" + str);
                }
                if (str != null && !"".equals(str)) {
                    c1.t1(this.f34804g, System.currentTimeMillis() + 43200000);
                    JSONObject jSONObject = new JSONObject(str);
                    if (jSONObject.getInt("status") == 1) {
                        i iVar = new i(this.f34804g);
                        iVar.d();
                        JSONArray jSONArray = new JSONArray(jSONObject.getString("data_list"));
                        for (int i10 = 0; i10 < jSONArray.length(); i10++) {
                            JSONObject jSONObject2 = jSONArray.getJSONObject(i10);
                            String string = jSONObject2.getString("tel_number");
                            String string2 = jSONObject2.getString("type_label");
                            String string3 = jSONObject2.getString("format_number");
                            if (!iVar.f(string).booleanValue() && !r1.K(this.f34804g, string)) {
                                EZBlackList eZBlackList = new EZBlackList();
                                eZBlackList.setName(string2);
                                eZBlackList.setNumber(string);
                                eZBlackList.setFormat_number(string3);
                                eZBlackList.setId(iVar.g(eZBlackList).longValue() + "");
                            }
                        }
                    } else {
                        c1.t1(this.f34804g, 0L);
                    }
                }
            } catch (Exception e10) {
                e10.printStackTrace();
            }
            return str;
        }

        @Override
        protected void onPostExecute(Object obj) {
            super.onPostExecute(obj);
        }
    }

    public static void a(Context context, String str, String str2, String str3, String str4, String str5, String str6) {
        try {
            new a(context, str, str2, str3, str4, str5, str6).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Object[0]);
        } catch (Exception e10) {
            e10.printStackTrace();
        }
    }
}