commands.sh

mitmdump

all

View, record, and programmatically transform HTTP traffic. The command-line counterpart to mitmproxy.

More info →

Options (4)

-w, --wfileboolean

Start a proxy and save all output to a file

Example: mitmdump {{[-w|--wfile]}} {{path/to/file}}
boolean

Filter a saved traffic file to just POST requests

Example: mitmdump {{[-nr|--no-server --read-flows]}} {{input_filename}} {{[-w|--wfile]}} {{output_filename}} "{{~m post}}"
boolean

Replay a saved traffic file

Example: mitmdump {{[-nc|--no-server --client-replay]}} {{path/to/file}}
-m, --modeboolean

Intercept DNS traffic (starts an intercepting DNS server on 127.0.0.1:53)

Example: sudo mitmdump {{[-m|--mode]}} dns

Examples (4)

Start a proxy and save all output to a file

mitmdump [-w|--wfile] path/to/file

Filter a saved traffic file to just POST requests

mitmdump [-nr|--no-server --read-flows] input_filename [-w|--wfile] output_filename "~m post"

Replay a saved traffic file

mitmdump [-nc|--no-server --client-replay] path/to/file

Intercept DNS traffic (starts an intercepting DNS server on 127.0.0.1:53)

sudo mitmdump [-m|--mode] dns
made by @shridhargupta | data from tldr-pages