Why you need this:
https://talks.txthinking.com/articles/mobile-capture-en.article
This is a helper app for mitmproxy, which is freely available at https://github.com/mitmproxy/mitmproxy. It is not developed by the mitmproxy project.
[Capture on TCP/IP layer, NOT system proxy]
- The helper captures all IP packets (IP layer)
- Next assemble into TCP stream (TCP layer)
- Next assemble into socks5 stream (Application layer)
- Next send to mitmproxy
Required: https://github.com/mitmproxy/mitmproxy installed on your desktop
- Intercept HTTP & HTTPS requests and responses and modify them on the fly
- Save complete HTTP conversations for later replay and analysis
- Replay the client-side of an HTTP conversations
- Replay HTTP responses of a previously recorded server
- Reverse proxy mode to forward traffic to a specified server
- Transparent proxy mode on macOS and Linux
- Make scripted changes to HTTP traffic using Python
- SSL/TLS certificates for interception are generated on the fly
- And much, much more…