Proxy Master v3.4.9版本的 MD5 值为:14d0aa2468d13530c8f6e96bcc114bf5
以下内容为反编译后的 b.java 源代码,内容仅作参考
package y7;
import ad.h;
import android.app.Application;
import android.content.Intent;
import android.os.Build;
import android.text.TextUtils;
import androidx.activity.z;
import androidx.core.content.FileProvider;
import com.hotspot.vpn.base.R$string;
import com.hotspot.vpn.tls.TlsPlusManager;
import df.n;
import ef.c;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.m;
import n7.e;
import r7.f;
import r7.l;
import sb.x;
import ye.e0;
import ye.g0;
import ye.r0;
public final class b {
public static final ArrayList f36938a = new ArrayList();
public static final class a extends m implements gc.a<x> {
public final List<String> f36939d;
public a(ArrayList arrayList) {
super(0);
this.f36939d = arrayList;
}
@Override
public final x invoke() {
File file = new File(r7.m.b().getFilesDir(), b.b());
Iterator<T> it = this.f36939d.iterator();
while (it.hasNext()) {
f.e(file, TlsPlusManager.d1(r7.m.b(), (String) it.next()) + '\n', true);
}
return x.f31049a;
}
}
public static void a() {
ArrayList arrayList = new ArrayList();
ArrayList arrayList2 = f36938a;
arrayList.addAll(arrayList2);
arrayList2.clear();
a aVar = new a(arrayList);
c cVar = r0.f37279a;
h.X0(e0.a(n.f21939a), null, null, new g8.b(aVar, null), 3);
}
public static String b() {
return android.support.v4.media.b.s(new Object[]{g0.V()}, 1, "s4_app_%s.log", "format(format, *args)");
}
public static void c(n7.b bVar, boolean z6) {
z.s0(R$string.action_report_prepare, bVar);
Intent intent = new Intent("android.intent.action.SEND");
intent.setType("message/rfc822");
intent.putExtra("android.intent.extra.EMAIL", new String[]{"shellapps.dev@gmail.com"});
String valueOf = String.valueOf(r7.a.e());
String f10 = r7.a.f();
k.d(f10, "getAppVersionName(...)");
String d10 = r7.a.d();
k.d(d10, "getAppPackageName(...)");
String V = g0.V();
String o10 = e.o();
intent.putExtra("android.intent.extra.SUBJECT", "S4-" + valueOf + '-' + o10 + '-' + V + '-' + (e.f().f28651a ? 1 : 0));
StringBuilder t10 = android.support.v4.media.b.t(a.a.n(a.a.n("\n\n\npk : ".concat(d10), "\nvc : ", f10), "\nvn : ", valueOf), "\nDevice Manufacturer: ");
t10.append(Build.MANUFACTURER);
StringBuilder t11 = android.support.v4.media.b.t(t10.toString(), "\nDevice Brand/Model: ");
t11.append(Build.MODEL);
StringBuilder t12 = android.support.v4.media.b.t(t11.toString(), "\nSystem Version: ");
t12.append(Build.VERSION.RELEASE);
StringBuilder t13 = android.support.v4.media.b.t(t12.toString(), "\nNetwork Type: ");
t13.append(h8.b.b());
StringBuilder t14 = android.support.v4.media.b.t(a.a.n(t13.toString(), "\nCountry: ", o10), "\nSim Country: ");
t14.append(e.l());
StringBuilder t15 = android.support.v4.media.b.t(t14.toString(), "\nNetwork Country: ");
t15.append(e.m());
StringBuilder t16 = android.support.v4.media.b.t(t15.toString(), "\nCDMA: ");
t16.append(e.u());
StringBuilder t17 = android.support.v4.media.b.t(t16.toString(), "\nVPN: ");
Application b6 = r7.m.b();
k.d(b6, "getApp(...)");
t17.append(g8.a.a(b6));
StringBuilder t18 = android.support.v4.media.b.t(t17.toString(), "\nASN: ");
t18.append(e.s());
intent.putExtra("android.intent.extra.TEXT", android.support.v4.media.b.m(t18.toString(), "\nUUID: ", V, "\n\n"));
if (r7.a.h("com.google.android.gm")) {
intent.setPackage("com.google.android.gm");
}
File file = new File(r7.m.b().getFilesDir(), b());
if (file.exists()) {
intent.putExtra("android.intent.extra.STREAM", FileProvider.getUriForFile(r7.m.b(), d10.concat(".provider"), file));
}
Intent createChooser = Intent.createChooser(intent, bVar.getString(z6 ? R$string.action_report_error : R$string.action_report_not_work));
createChooser.addFlags(268435457);
bVar.startActivity(createChooser);
}
public static void d(String line) {
k.e(line, "line");
try {
if (TextUtils.isEmpty(line)) {
return;
}
ArrayList arrayList = f36938a;
arrayList.add(l.c(System.currentTimeMillis()) + ' ' + line);
if (arrayList.size() > 100) {
a();
}
} catch (Exception e10) {
e10.printStackTrace();
}
}
}