Open ta1c0 opened 6 months ago
Which command are you running? It looks like you're not using the traffic capture or proxy override scripts. It might be worth trying that, instead of using the manual proxy setup that you'd normally have to do with Burp, since that may capture far more traffic.
Beyond that, I'm not sure what could cause this specifically. In general if some combination of the scripts here doesn't work immediately, you'll need to do some reverse engineering, and there's a guide for that here: https://httptoolkit.com/blog/android-reverse-engineering/
Im using ‘frida -U -l config-burp.js -l android-certificate-unpinning.js -f com.google.android.youtube’ It works for most apps, but not for youtube I will also take a look at the guide you provided, thanks.
I dont think YouTube uses pinning, but it does use QUIC. but turns out if you block outbound UDP port 443 then YouTube uses HTTP/2 instead - so I am able to capture the Android client now
@3052 thanks, that'd good info. Do you want to open a PR to the native-connect-hook here to block UDP 443? It should be possible to do this within the existing code there I think, and that way these scripts would handle that automatically.
eh I am extremely busy - as a recent YouTube change has killed a bunch of YouTube downloaders, and I currently have the only implementation of the new endpoint - but hopefully my comment above is helpful
Hey, first I just wanted to mention that I really appreciate your hard work, thank you.
I'm using Burp as my proxy and mostly able to sniff most of the application I tried so far. When trying to sniff Youtube's app, the app starts but nothing loads, as if it has no internet connection. When looking on the logs (I'm on debug mode), I can see no errors or even an attempt to bypass the pinning (log attached at the end) I examined Logcat, and saw that the only indication I got is:
[0314/163027.859572:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
BTW, if I try to sniff using HTTP Toolkit there are no error and I can see the traffic. Thank you
Log from frida