mitmproxy/examples
Marc Liyanage e5c0891e84 Pass extra command line arguments to mitmproxy 2013-07-08 20:56:05 -07:00
..
README Add mitmproxywrapper.py 2013-05-15 15:24:34 -07:00
add_header.py First draft of scripting docs. 2011-08-05 13:26:39 +12:00
dup_and_replay.py Add two more examples: dup_and_replay.py and modify_querystring.py 2012-02-23 15:43:04 +13:00
flowbasic Introduce a filtered flow writer, and use it in dump.py 2013-03-14 09:19:43 +13:00
iframe_injector Introduce a filtered flow writer, and use it in dump.py 2013-03-14 09:19:43 +13:00
mitmproxywrapper.py Pass extra command line arguments to mitmproxy 2013-07-08 20:56:05 -07:00
modify_form.py Add an example showing the new form API. 2012-02-23 14:57:43 +13:00
modify_querystring.py Add two more examples: dup_and_replay.py and modify_querystring.py 2012-02-23 15:43:04 +13:00
proxapp Fix crash in client playback. 2013-05-05 13:18:52 +12:00
redirect_requests.py Add redirect example 2013-04-07 19:16:01 +02:00
stickycookies Fix crash in client playback. 2013-05-05 13:18:52 +12:00
stub.py remove trailing whitespace 2012-12-09 15:57:11 -06:00
upsidedownternet.py README and minor felicities for script examples. 2011-08-27 09:24:04 +12:00

README

add_header.py           Simple script that just adds a header to every request.
dup_and_replay.py       Duplicates each request, changes it, and then replays the modified request.
flowbasic               Basic use of mitmproxy as a library.
modify_form.py          Modify all form submissions to add a parameter.
modify_querystring.py   Modify all query strings to add a parameters.
proxapp                 How to embed a WSGI app in a mitmproxy server
stub.py                 Script stub with a method definition for every event.
stickycookies           An example of writing a custom proxy with libmproxy.
upsidedownternet.py     Rewrites traffic to turn PNGs upside down.
mitmproxywrapper.py     Bracket mitmproxy run with proxy enable/disable on OS X