Edit on GitHub

#  What’s Next

Congratulations! You have successfully completed the mitmproxy tutorial. 🎉

We hope it was worthwhile and helped you getting up to speed with mitmproxy. Is there anything you feel is missing? Or anything that is not clear? Please let us know in our dedicated issue on GitHub.

#  Advanced usage

In this tutorial we have used mitmproxy to inspect requests initiated by curl. You probably also want to inspect web traffic from your browser or some other tool. To do so, you need to configure mitmproxy as your client’s proxy.

This tutorial is not meant as a replacement for our extensive docs. mitmproxy has far more features than what we’ve shown you. We recommend to read the documentation to get the full picture.

If you want to get in touch with the developers or other users, please use our Slack channel. If you want to contribute to mitmproxy or submit a bug report or other feedback, please do so on GitHub.

#  Customize Key bindings

Mitmproxy’s key bindings can be customized to your needs 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 flowlist
  # 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
examples/keys.yaml