3 ms·
Fun read, but you probably could have installed mitmproxy with brew, pointed your IntelliJ instance through this proxy (you can either set it in your settings o
by syntaxing 1y ago
Fun read, but you probably could have installed mitmproxy with brew, pointed your IntelliJ instance through this proxy (you can either set it in your settings or run it with environment variable HTTP_PORT or HTTPS_PORT). This allows you intercept the request like wireshark and diagnose. You honestly can just intercept the interface request using wireshark but the learning curve is stepper.
- tymscar 1y agoGood point! Wireshark was the next step actually if this didnt work!
- devmor 1y agoEven if you know how to use Wireshark already, a lot of times it’s faster and easier to use mitmproxy for something simple. I use it for reverse engineering IoT apps on android emulators regularly.
- ofrzeta 1y agoYou have to work around TLS, though. Although it is possible with Wireshark, extracting the shared keys through from the browser, I never could get it to work. With mitmproxy I was more successful and could even get iOS Safari to accept my self-issued certificate and read HTTP traffic from a third-party app that I re-routed through my own proxy.
- syntaxing 1y agoIt’s not that hard to use your own CA cert on macOS, you just add it in Keychain. Mitmproxy takes like 5 minute to setup on macOS, they provide a CA self signed cert for you out of the box
- bauruine 1y agoIn this case it's possible that it would have worked if he had used mitmproxy.