mitmproxy/examples
2014-11-15 21:14:50 +01:00
..
add_header.py
change_upstream_proxy.py
dup_and_replay.py
flowbasic
har_extractor.py It seems get_decoded_content can actually be shorter than content due to encoding issues. Since I'm not crazy after all it seems safe to push. 2014-11-15 21:14:50 +01:00
iframe_injector.py
mitmproxywrapper.py
modify_form.py
modify_querystring.py
modify_response_body.py
nonblocking.py
proxapp.py
read_dumpfile
README
redirect_requests.py
stickycookies
stream.py
stub.py
upsidedownternet.py

# inline script examples
add_header.py             Simple script that just adds a header to every request.
change_upstream_proxy.py  Dynamically change the upstream proxy
dup_and_replay.py         Duplicates each request, changes it, and then replays the modified request.
iframe_injector.py        Inject configurable iframe into pages.
modify_form.py            Modify all form submissions to add a parameter.
modify_querystring.py     Modify all query strings to add a parameters.
modify_response_body.py   Replace arbitrary strings in all responses
nonblocking.py            Demonstrate parallel processing with a blocking script.
proxapp.py                How to embed a WSGI app in a mitmproxy server
redirect_requests.py      Redirect requests or directly reply to them.
stub.py                   Script stub with a method definition for every event.
upsidedownternet.py       Rewrites traffic to turn images upside down.


# libmproxy examples
flowbasic                 Basic use of mitmproxy as a library.
stickycookies             An example of writing a custom proxy with libmproxy.


# misc
read_dumpfile             Read a dumpfile generated by mitmproxy.
mitmproxywrapper.py       Bracket mitmproxy run with proxy enable/disable on OS X