mitmdump
View, record, and programmatically transform HTTP traffic. tldr-pages
On several platforms
Several platforms
View, record, and programmatically transform HTTP traffic. The command-line counterpart to mitmproxy.
Start a proxy and save all output to a file
mitmdump --wfile path/to/fileIdentifyFilter a saved traffic file to just POST requests
mitmdump --no-server --read-flows input_filename --wfile output_filename "~m post"IdentifyReplay a saved traffic file
mitmdump --no-server --client-replay path/to/fileIdentifyIntercept DNS traffic (starts an intercepting DNS server on 127.0.0.1:53)
sudo mitmdump --mode dnsIdentify