mirror of
https://github.com/httptoolkit/frida-interception-and-unpinning.git
synced 2026-10-21 15:22:23 +02:00
Merge pull request #234 from az-xx/cronet-pinning-bypass
Handle Cronet by re-enabling pinning bypass for local trust anchors
This commit is contained in:
@@ -433,6 +433,19 @@ const PINNING_FIXES = {
|
||||
};
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
// --- Cronet (Chromium's network stack - does its own native TLS, bypassing the hooks above)
|
||||
|
||||
'org.chromium.net.CronetEngine$Builder': [
|
||||
{
|
||||
methodName: 'enablePublicKeyPinningBypassForLocalTrustAnchors',
|
||||
replacement: (targetMethod) => function (_enabled) {
|
||||
// Ignore the app's choice and always allow local trust anchors to bypass
|
||||
// pinning - the method returns the builder, so preserve that for chaining:
|
||||
return targetMethod.call(this, true);
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user