We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 266dbb8 commit b13d28eCopy full SHA for b13d28e
app/src/main/java/just/trust/me/Main.java
@@ -533,6 +533,19 @@ protected Object replaceHookedMethod(MethodHookParam methodHookParam) throws Thr
533
// pass
534
}
535
536
+ try {
537
+ classLoader.loadClass("okhttp3.CertificatePinner");
538
+ findAndHookMethod("okhttp3.CertificatePinner",
539
+ classLoader,
540
+ "check",
541
+ String.class,
542
+ List.class,
543
+ DO_NOTHING);
544
+ } catch (XposedHelpers.ClassNotFoundError | ClassNotFoundException | NoSuchMethodError e) {
545
+ Log.d(TAG, "OKHTTP 4.2.0+ (check) not found in " + currentPackageName + " -- not hooking");
546
+ // pass
547
+ }
548
+
549
550
551
void processHttpClientAndroidLib(ClassLoader classLoader) {
0 commit comments