mitmproxy/examples
Aldo Cortesi 58e1b3a47f Start refactoring scripts
- Move ScriptContext into script module
- Use mock module instead of hand-rolled mock objects in tests
2014-01-12 12:49:19 +13:00
..
add_header.py
dup_and_replay.py
flowbasic
iframe_injector
mitmproxywrapper.py
modify_form.py
modify_querystring.py
nonblocking.py Start refactoring scripts 2014-01-12 12:49:19 +13:00
proxapp
README
redirect_requests.py
stickycookies
stub.py merge smurfix/fix2, add serverconnect hook docs, adjust tests 2013-12-16 22:10:06 +01:00
upsidedownternet.py Update another reference to PIL. 2014-01-04 03:15:08 +01:00

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