alexlauerman Corrected keep_host_header usage option
I tested this locally to verify this change is correct.
Latest commit 93cb73e Oct 25, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
addons Rename scripting file Jun 8, 2018
complex Corrected keep_host_header usage option Oct 25, 2018
pathod format examples May 29, 2016
simple Added example to simple examples (#3348) Oct 12, 2018 organize examples Nov 21, 2016
keys.yaml typo May 27, 2018

Mitmproxy Scripting API

Mitmproxy has a powerful scripting API that allows you to control almost any aspect of traffic being proxied. In fact, much of mitmproxy’s own core functionality is implemented using the exact same API exposed to scripters (see mitmproxy/addons).

This directory contains some examples of the scripting API. We recommend to start with the ones in simple/.

⚠️ If you are browsing this on GitHub, make sure to select the git tag matching your mitmproxy version.

Some inline scripts may require additional dependencies, which can be installed using pip install mitmproxy[examples].