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
kiven7299
changed the title
[bug & solution] Suggest change to the bypassing SSL-Pinning by Okhttp3 since original code doesn't work
[bug & solution] Suggest change to the bypassing SSL-Pinning of Okhttp3 since original code doesn't work
Oct 11, 2022
About the issue
There is an Android app which demo ssl-pinning: https://github.com/httptoolkit/android-ssl-pinning-demo.
Try disable its ssl-pinning with
Objection
(commandandroid sslpinning disable
) fails forOkhttp3
library:Spot the bug in
Objection
's frida scriptsIn file
agent.js
, functionconst okHttp3CertificatePinnerCheckOkHttp = (ident) => {...}
. The issue is red-underlined code bellow:check$okhttp
with argument ofu15
type, the code fails to hook into.Suggest fix
Just hook
okhttp3.CertificatePinner.check$okhttp
withoutoverload(...)
const CertificatePinnerCheckOkHttp = certificatePinner.check$okhttp
Result
The text was updated successfully, but these errors were encountered: