242 points · by mhils · 8y ago · 39 comments
Their homepage shows "brew install mitmproxy" front and center. Ok good. Installed. What's next? A 5-minute tutorial e.g. how to spy Tinder API can go a long way.
Thank you kindly!
https://mitmproxy.readthedocs.io/en/v2.0.2/tutorials/gamecen...
interface=$( ifconfig en0 | grep inet | grep -v inet6 | awk '{ print $2 }' )
mitmproxy --no-mouse -b $interface
Edit: This causes the IP address to show up in the mitmproxy UI. I use mitm for iOS development, and having my IP visible is handy when setting up the phone to use a proxy.It's an operation mode, no recipe
I haven't used mitm 3 yet, but had a fantastic experience with mitmproxy about a year and a half ago, incorporating mitmdump into a CLI tool for testing android apps. Discovered 'lnav' on that same project too, and came away feeling empowered and grateful for those 2 phenomenal tools.