Proxy Master v3.4.9版本的 MD5 值为:14d0aa2468d13530c8f6e96bcc114bf5
以下内容为反编译后的 b.java 源代码,内容仅作参考
package u7;
import ad.h;
import android.text.TextUtils;
import android.util.Base64;
import com.google.common.net.HttpHeaders;
import java.io.Closeable;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.ResponseBody;
import ye.g0;
public final class b implements Callable<List<String>> {
public final OkHttpClient f35330b;
public b(OkHttpClient okHttpClient) {
this.f35330b = okHttpClient;
}
@Override
public final List<String> call() {
Exception e10;
Throwable th;
Response response;
int code;
ArrayList arrayList = new ArrayList();
t7.a aVar = null;
try {
try {
response = this.f35330b.newCall(new Request.Builder().removeHeader(HttpHeaders.USER_AGENT).addHeader(HttpHeaders.USER_AGENT, s7.a.i()).url("https://raw.githubusercontent.com/hotspotlab/super/main/superapp.conf").build()).execute();
} catch (Throwable th2) {
th = th2;
response = aVar;
}
} catch (Exception e11) {
e10 = e11;
}
try {
try {
code = response.code();
g0.Y("dm gb response code = " + code, new Object[0]);
} catch (Throwable th3) {
th = th3;
h.M(new Closeable[]{response});
throw th;
}
} catch (Exception e12) {
e10 = e12;
aVar = response;
g0.H("dm gb exp = " + g0.U(e10), new Object[0]);
h.M(new Closeable[]{aVar});
return arrayList;
}
if (code >= 400) {
throw new RuntimeException("dm gb response code error = " + code);
}
ResponseBody body = response.body();
if (body != null) {
String string = body.string();
if (TextUtils.isEmpty(string)) {
throw new RuntimeException("dm gb response body is empty");
}
try {
aVar = g0.O(new String(Base64.decode(string, 0), StandardCharsets.UTF_8));
} catch (Exception e13) {
e13.printStackTrace();
}
if (aVar == null || aVar.f34878a.isEmpty() || aVar.f34879b.isEmpty()) {
throw new RuntimeException("dm gb response body invalid");
}
s7.a.k(aVar.f34878a);
s7.a.m(aVar.f34879b);
arrayList.addAll(aVar.f34878a);
s7.a.l(aVar.f34879b.get(0));
h.M(response);
return arrayList;
}
throw new RuntimeException("dm gb response body is null");
}
}