手机管家 v7.2.0版本的 MD5 值为:dd92ba71696e35a4b841cd1b5de53cd3
以下内容为反编译后的 byz.java 源代码,内容仅作参考
package tcs;
import android.os.Handler;
import android.os.Message;
import android.text.TextUtils;
import com.tencent.qqpimsecure.plugin.download.PiDownload;
import java.util.ArrayList;
import java.util.Iterator;
import org.json.JSONArray;
import org.json.JSONObject;
public class byz {
private static a hnd = null;
private final int hne = 100;
int hnf = 265139;
int gdK = 265140;
private Handler mHandler = new amy(PiDownload.aDA().kI().getMainLooper()) {
@Override
public void handleMessage(Message message) {
switch (message.what) {
case 100:
ale.FM().at(PiDownload.aDA().kI());
return;
default:
return;
}
}
};
public boolean aDP() {
if (aDQ() != null && hnd.status != -1 && aDR() && ale.FM().a(PiDownload.aDA().kI(), hnd.hnj, hnd.hni, a(hnd), hnd.hnm) == 0) {
byx.vk(this.hnf);
this.mHandler.removeMessages(100);
this.mHandler.sendEmptyMessageDelayed(100, hnd.hnh);
return true;
}
return false;
}
private static a aDQ() {
a aVar = null;
String kD = atb.cc(PiDownload.aDA().kI()).kD(20001);
if (TextUtils.isEmpty(kD)) {
return null;
}
a aVar2 = new a();
try {
JSONObject jSONObject = new JSONObject(kD);
aVar2.hnh = jSONObject.getLong("vpn_time");
aVar2.status = jSONObject.getInt("state");
JSONArray jSONArray = jSONObject.getJSONArray("ips");
if (jSONArray != null) {
for (int i = 0; i < jSONArray.length(); i++) {
aVar2.hnk.add(jSONArray.getString(i));
}
}
JSONArray jSONArray2 = jSONObject.getJSONArray("pkgs");
if (jSONArray2 != null) {
for (int i2 = 0; i2 < jSONArray2.length(); i2++) {
aVar2.hnm.add(jSONArray2.getString(i2));
}
}
JSONArray jSONArray3 = jSONObject.getJSONArray("websites");
if (jSONArray3 != null) {
for (int i3 = 0; i3 < jSONArray3.length(); i3++) {
aVar2.hnl.add(jSONArray3.getString(i3));
}
}
aVar = aVar2;
} catch (Exception e) {
hnd = null;
}
if (aVar != null) {
aVar.hnh = aVar.hnh <= 30000 ? aVar.hnh : 30000L;
hnd = aVar;
}
return hnd;
}
private ArrayList<String> a(a aVar) {
ArrayList<String> arrayList = new ArrayList<>();
arrayList.addAll(aVar.hnk);
Iterator<String> it = aVar.hnl.iterator();
while (it.hasNext()) {
String il = ale.il(it.next());
if (!TextUtils.isEmpty(il)) {
arrayList.add(il);
}
}
return arrayList;
}
public static class a {
long hnh = 15000;
int status = -1;
String hni = "10.5.6.7";
String hnj = "VPN-install";
ArrayList<String> hnk = new ArrayList<>();
ArrayList<String> hnl = new ArrayList<>();
ArrayList<String> hnm = new ArrayList<>();
a() {
}
}
public static boolean aDR() {
return ((aid) PiDownload.aDA().kH().gf(9)).dH("MarketDao").getBoolean("watch_man_switch", true);
}
}