I'm getting the following error. The application opens when I use the httptoolkit frida mod. I tried Mitmproxy, I tried Burpsuite, and I got the same error in all of them.
PS C:\Users\Yusuf\Desktop\frida\frida-interception-and-unpinning-main> frida -U -l ./config.js -l ./native-connect-hook.js -l ./native-tls-hook.js -l ./android/android-proxy-override.js -l ./android/android-system-certificate-injection.js -l ./android/android-certificate-unpinning.js -l ./android/android-certificate-unpinning-fallback.js -l ./android/android-disable-root-detection.js -f com.aktifbank.passo
____
/ _ | Frida 17.8.2 - A world-class dynamic instrumentation toolkit
| (| |
> _ | Commands:
// |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Android Emulator 5554 (id=emulator-5554)
Spawning com.aktifbank.passo...
== Redirecting all TCP connections to 127.0.0.1:8080 ==
== Hooked native TLS lib libssl.so ==
== Disabled Android root detection ==
Spawned com.aktifbank.passo. Resuming main thread!
[Android Emulator 5554::com.aktifbank.passo ]-> == Proxy system configuration overridden to 127.0.0.1:8080 ==
== Proxy configuration overridden to 127.0.0.1:8080 ==
== System certificate trust injected ==
== Certificate unpinning completed ==
== Unpinning fallback auto-patcher installed ==
=> Blocked possible root detection checks. Enable DEBUG_MODE for more details.
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
I'm getting the following error. The application opens when I use the httptoolkit frida mod. I tried Mitmproxy, I tried Burpsuite, and I got the same error in all of them.
PS C:\Users\Yusuf\Desktop\frida\frida-interception-and-unpinning-main> frida -U -l ./config.js -l ./native-connect-hook.js -l ./native-tls-hook.js -l ./android/android-proxy-override.js -l ./android/android-system-certificate-injection.js -l ./android/android-certificate-unpinning.js -l ./android/android-certificate-unpinning-fallback.js -l ./android/android-disable-root-detection.js -f com.aktifbank.passo
____
/ _ | Frida 17.8.2 - A world-class dynamic instrumentation toolkit
| (| |
> _ | Commands:
// |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Android Emulator 5554 (id=emulator-5554)
Spawning
com.aktifbank.passo...== Redirecting all TCP connections to 127.0.0.1:8080 ==
== Hooked native TLS lib libssl.so ==
== Disabled Android root detection ==
Spawned
com.aktifbank.passo. Resuming main thread![Android Emulator 5554::com.aktifbank.passo ]-> == Proxy system configuration overridden to 127.0.0.1:8080 ==
== Proxy configuration overridden to 127.0.0.1:8080 ==
== System certificate trust injected ==
== Certificate unpinning completed ==
== Unpinning fallback auto-patcher installed ==
=> Blocked possible root detection checks. Enable DEBUG_MODE for more details.
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!
!!! --- Unexpected TLS failure --- !!!
SSLPeerUnverifiedException: Certificate pinning failure!
Peer certificate chain:
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: CN=api.passo.com.tr
sha256/lsIvjVPvy3XNCGLq6slMlH3713TXoETSi7KIoPIm/1A=: O=mitmproxy,CN=mitmproxy
Pinned certificates for api.passo.com.tr:
sha256/Ocrd0O3cfze/rtg3ItwkIm15Lg9KNOscpS/EhzDCZ6w=
sha256/2v7XLu/cerCOSU5nt/GmEukfX21KhEPin/wk6p82uSA=
Thrown by okhttp3.CertificatePinner->check$okhttp
Already patched - but still failing!