Edit on GitHub

#  mitmproxy

mitmproxy is a console tool that allows interactive examination and modification of HTTP traffic. It differs from mitmdump in that all flows are kept in memory, which means that it’s intended for taking and manipulating small-ish samples. Use the ? shortcut key to view, context-sensitive documentation from any mitmproxy screen.

#  Key binding configuration

Mitmproxy’s key bindings can be customized through in the ~/.mitmproxy/keys.yaml file. This file consists of a sequence of maps, with the following keys:

#  Example

  # Simple global binding
  key: ctrl a
  cmd: replay.client @marked
  # Bind key only in the lfowlist
  # Note that 1 is quoted, or YAML interprets it as a digit
  key: "1"
  ctx: ["flowlist"]
  cmd: console.nav.down
  help: Go to next flow