mitmproxy/examples
Mickaël Schoentgen c03b07930c Fix ResourceWarning: unclosed file, prevent resource leaks
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:06:30 +01:00
..
addons Fix ResourceWarning: unclosed file, prevent resource leaks 2019-01-06 15:06:30 +01:00
complex Corrected keep_host_header usage option 2018-10-25 16:15:55 -05:00
pathod
simple Added link_expander.py example to simple examples (#3348) 2018-10-12 21:56:58 +02:00
keys.yaml typo 2018-05-27 19:40:26 +03:00
README.md

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 mitmproxys 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].