You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a segment of code in main.java:
findAndHookMethod(X509TrustManagerExtensions.class, "checkServerTrusted", X509Certificate[].class, String.class, String.class, new XC_MethodReplacement() { @OverRide
protected Object replaceHookedMethod(MethodHookParam param) throws Throwable {
return param.args[0];
}
});
in colos 7.0(android 10),checkServerTrusted function return type is List,but param.args[0] is an array,and cannot work on my phone,after i changed it to "return Arrays.asList((X509Certificate[])param.args[0]);",it worked
The text was updated successfully, but these errors were encountered:
There is a segment of code in main.java:
findAndHookMethod(X509TrustManagerExtensions.class, "checkServerTrusted", X509Certificate[].class, String.class, String.class, new XC_MethodReplacement() {
@OverRide
protected Object replaceHookedMethod(MethodHookParam param) throws Throwable {
return param.args[0];
}
});
in colos 7.0(android 10),checkServerTrusted function return type is List,but param.args[0] is an array,and cannot work on my phone,after i changed it to "return Arrays.asList((X509Certificate[])param.args[0]);",it worked
The text was updated successfully, but these errors were encountered: