mitmproxy/examples
Thomas Kriechbaumer 481970d9b8
Merge pull request #3846 from kimbo/kl/block-doh
Example for detecting/blocking DNS over HTTTPS queries
2020-04-05 09:09:37 +02:00
..
addons improve scripting docs 2020-04-04 15:36:13 +02:00
complex Merge pull request #3846 from kimbo/kl/block-doh 2020-04-05 09:09:37 +02:00
pathod format examples 2016-05-29 01:23:39 -07:00
simple improve scripting docs 2020-04-04 15:36:13 +02:00
__init__.py bump deps 2019-09-28 17:37:43 +02:00
keys.yaml typo 2018-05-27 19:40:26 +03: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].