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 } });
标签:xposed,classloader,param,60,hook,Context,加固,360 From: https://www.cnblogs.com/afublog/p/18243949