mitmproxy/examples
Aldo Cortesi 1410cbb4b6 Remove test handlers by using taddons.RecordingMaster
This also means expanding and tweaking the recording master API, which we
reflect through the current test suite
2017-03-16 18:05:57 +13:00
..
complex Remove test handlers by using taddons.RecordingMaster 2017-03-16 18:05:57 +13:00
pathod format examples 2016-05-29 01:23:39 -07:00
simple Enable custom options in config files 2017-03-14 09:40:33 +13:00
README.md organize examples 2016-11-21 02:28:10 +01:00

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