逆向研究了一番,判定逻辑是查看是否安装了谷歌应用商店并且没安装葫芦侠、支付宝、微信、MT管理器,不符合这个条件就限制功能。
部分代码
[Java] 纯文本查看 复制代码 private static PackageInfo m7801(Context context, String str) {
try {
return context.getPackageManager().getPackageInfo(str, 0);
} catch (PackageManager.NameNotFoundException unused) {
return null;
}
}
public final boolean m7681(Context context) {
if (C2510.m7832(context) && !C2501.m7800(context, C2449.m7697("Jy1CDk8zLVlJQ0ENIiJNaVRIXytb"))) {
return !C2501.m7800(context, C2449.m7697("Jy1CDkIhb01fTlJMLCcOTUxOQCZRZ1UsJk5C")) || !C2501.m7800(context, C2449.m7697("Jy1CDlMjL09URFQNKC4=")) || !C2501.m7800(context, C2449.m7697("JitBDkoyb1xdX1M="));
}
return false;
}
public static boolean m7800(Context context, String str) {
return m7801(context, str) != null;
}
public static boolean m7832(Context context) {
try {
if (!(context.getPackageManager().getPackageInfo(C2449.m7697("Jy1CDkYoJV5eQ0QNMyZOaElJVw=="), 0) != null)) {
return false;
}
String r3 = C2449.m7697("JSxLUkgvJQJYRFRGKzcObUNTWShGDnMNDHc=");
StringBuilder sb = new StringBuilder();
sb.append(C2449.m7697("KSNdS0IyewMeTkVXJCpMfx9OVHo="));
sb.append(context.getPackageName());
return context.getPackageManager().resolveActivity(new Intent(r3, Uri.parse(sb.toString())), 0) != null;
} catch (PackageManager.NameNotFoundException unused) {
}
}
}
其中字符串常量被StringFog加密了,确切的说是StringFogPlus,加密密钥在native层计算生成。解密出来是
Jy1CDk8zLVlJQ0ENIiJNaVRIXytb
com.huluxia.gametools
Jy1CDkIhb01fTlJMLCcOTUxOQCZRZ1UsJk5C
com.eg.android.AlipayGphone
y1CDlMjL09URFQNKC4=
com.tencent.mm
JitBDkoyb1xdX1M=
bin.mt.plus
Jy1CDkYoJV5eQ0QNMyZOaElJVw==
com.android.vending
JSxLUkgvJQJYRFRGKzcObUNTWShGDnMNDHc=
android.intent.action.VIEW
KSNdS0IyewMeTkVXJCpMfx9OVHo=
market://details?id=
|