XposedHelpers.findAndHookMethod("com.stub.StubApp",
loadPackageParam.classLoader,
"attachBaseContext",
Context.class,
new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
super.afterHookedMethod(param);
//获取到Context对象,通过这个对象来获取classloader
Context context = (Context) param.args[0];
//获取classloader,之后hook加固后的就使用这个classloader
ClassLoader classLoader = context.getClassLoader();
//已经绕过360加固取得classloader
}
});
Xused は 360 度の強化をバイパスして実際のクラスローダーを取得します
おすすめ
転載: blog.csdn.net/qq_27512671/article/details/121163307
おすすめ
ランキング