Inspect HTTPS With mitmproxy

Intercept, view and edit web traffic from a terminal UI.

LinuxnetworksecuritytlsLow risk
Run mitmproxy -p 8080, then point a client's proxy to that port.

01Command

Command
$ mitmproxy -p 8080

02What it does

mitmproxy terminates TLS with its own CA to show decrypted requests, allowing you to replay, edit and script flows. The companion mitmdump runs headless and mitmweb provides a browser UI, all sharing the same addon API.

03Risk

RiskLow risk
Requirementssudo apt install mitmproxy
!Warning: Intercepting others' traffic without consent is unethical and often illegal; only inspect clients and services you own.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Debian package: mitmproxy
    Debian · vendor-doc · 2026-09-20
    Evidence: Debian packages mitmproxy, an interactive TLS-capable intercepting proxy.
  • mitmproxy
    Official project · vendor-doc · 2026-09-20
    Evidence: Debian packages mitmproxy, an interactive TLS-capable intercepting proxy.

Last verified: 2026-09-22 · Category: Security & Privacy

06Related solutions