GOUTY SSH V2 🌐 v4.2.5版本的 MD5 值为:635449b1ebcf1b9e08b24bdcbf1c404a
以下内容为反编译后的 a.java 源代码,内容仅作参考
package v1;
import android.net.Uri;
import android.os.Process;
import android.util.Log;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import q8.h;
public final class a extends Thread {
public final int f10085w = 1;
public final Object f10086x;
public a(HashMap hashMap) {
this.f10086x = hashMap;
}
public a(h hVar) {
this.f10086x = hVar;
}
public a(s1.a aVar, Runnable runnable) {
super(runnable);
this.f10086x = aVar;
}
@Override
public final void run() {
byte[] bArr;
String message;
StringBuilder sb2;
String str;
switch (this.f10085w) {
case 0:
Process.setThreadPriority(9);
super.run();
return;
case 1:
Map map = (Map) this.f10086x;
Uri.Builder buildUpon = Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
for (String str2 : map.keySet()) {
buildUpon.appendQueryParameter(str2, (String) map.get(str2));
}
String uri = buildUpon.build().toString();
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(uri).openConnection();
try {
int responseCode = httpURLConnection.getResponseCode();
if (responseCode < 200 || responseCode >= 300) {
StringBuilder sb3 = new StringBuilder(String.valueOf(uri).length() + 65);
sb3.append("Received non-success response code ");
sb3.append(responseCode);
sb3.append(" from pinging URL: ");
sb3.append(uri);
Log.w("HttpUrlPinger", sb3.toString());
}
httpURLConnection.disconnect();
return;
} catch (Throwable th) {
httpURLConnection.disconnect();
throw th;
}
} catch (IOException e10) {
e = e10;
message = e.getMessage();
sb2 = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 27);
str = "Error while pinging URL: ";
sb2.append(str);
sb2.append(uri);
sb2.append(". ");
sb2.append(message);
Log.w("HttpUrlPinger", sb2.toString(), e);
return;
} catch (IndexOutOfBoundsException e11) {
e = e11;
message = e.getMessage();
sb2 = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 32);
str = "Error while parsing ping URL: ";
sb2.append(str);
sb2.append(uri);
sb2.append(". ");
sb2.append(message);
Log.w("HttpUrlPinger", sb2.toString(), e);
return;
} catch (RuntimeException e12) {
e = e12;
message = e.getMessage();
sb2 = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 27);
str = "Error while pinging URL: ";
sb2.append(str);
sb2.append(uri);
sb2.append(". ");
sb2.append(message);
Log.w("HttpUrlPinger", sb2.toString(), e);
return;
}
}
while (true) {
synchronized (((h) this.f10086x).f8655a) {
if (((h) this.f10086x).f8655a.size() == 0) {
try {
((h) this.f10086x).f8655a.wait(2000L);
} catch (InterruptedException unused) {
}
if (((h) this.f10086x).f8655a.size() == 0) {
((h) this.f10086x).f8656b = null;
return;
}
}
bArr = (byte[]) ((h) this.f10086x).f8655a.remove(0);
}
try {
((h) this.f10086x).k(bArr);
} catch (IOException unused2) {
return;
}
}
}
}