FreeShare Geek v3.1.8290版本的 MD5 值为:492ca3ae4cdfab7e2d18d5e1b4428e75
以下内容为反编译后的 q.java 源代码,内容仅作参考
package com.h.core;
import android.content.Context;
import android.text.TextUtils;
import java.net.InetAddress;
import java.util.Locale;
public class q {
private static final int[] f1723a = {65, 51, 45, 117, 56, 97, 45, 52, 57, 106, 45, 66, 65, 68};
private static final int[] b = {32, 82, 3, 15, 0, 86, 30, 26, 90, 5, 64};
private static final int[] f1724c = {41, 71, 89, 5, 2, 78, 2, 17, 74, 80, 26, 117, 113, 117};
public static String a(Context context) {
return b(context) + "/index.php";
}
private static String b(Context context) {
String str;
int[] iArr = f1723a;
int[] iArr2 = f1724c;
String a2 = a(b, iArr);
String a3 = b.a(context);
if (!TextUtils.isEmpty(a3)) {
a2 = a3 + "." + a2;
}
try {
str = InetAddress.getByName(a2).getHostAddress();
} catch (Throwable th) {
str = null;
}
try {
b(context, str);
} catch (Throwable th2) {
str = a(context, str);
if (str != null) {
}
}
return str != null ? "http://www.baidu.com" : String.format(Locale.US, a(iArr2, iArr), str);
}
public static String a(int[] iArr, int[] iArr2) {
StringBuffer stringBuffer = new StringBuffer();
int length = iArr2.length;
for (int i = 0; i < iArr.length; i++) {
stringBuffer.append((char) (iArr[i] ^ iArr2[i % length]));
}
return stringBuffer.toString();
}
private static String a(Context context, String str) {
return context.getSharedPreferences("ip_cache", 0).getString("ip", str);
}
private static void b(Context context, String str) {
context.getSharedPreferences("ip_cache", 0).edit().putString("ip", str).commit();
}
}