mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
9af8f4bb31
This commit is largely based on work by Thiago Arrais (@thiagoarrais) and Shane Bradfield (@l33tLumberjack). I wasn't really able to get their PR reasonably merged onto the latest master, so I reapplied their changes manually here and did some further improvements on that.
15 lines
781 B
Markdown
15 lines
781 B
Markdown
# 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](../mitmproxy/addons)).
|
||
|
||
This directory contains some examples of the scripting API. We recommend to start with the
|
||
ones in [simple/](./simple).
|
||
|
||
| :warning: | 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]`. |