aboutsummaryrefslogtreecommitdiffstats
path: root/examples/README
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-18 11:27:40 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-18 11:27:40 +0100
commitbf024cd15320119e341cdf9bf0fd4d69df233c64 (patch)
tree05a6338d94c665421ae1eab07f14aed61b8bd2b1 /examples/README
parentf42af9061220ec0373e94e96b69434575f60281d (diff)
parent31ab3a231e540815009ffe5aeae108db2babd8a9 (diff)
downloadmitmproxy-bf024cd15320119e341cdf9bf0fd4d69df233c64.tar.gz
mitmproxy-bf024cd15320119e341cdf9bf0fd4d69df233c64.tar.bz2
mitmproxy-bf024cd15320119e341cdf9bf0fd4d69df233c64.zip
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
Diffstat (limited to 'examples/README')
-rw-r--r--examples/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/README b/examples/README
new file mode 100644
index 00000000..cf5c4d7d
--- /dev/null
+++ b/examples/README
@@ -0,0 +1,30 @@
+Some inline scripts may require additional dependencies, which can be installed using
+`pip install mitmproxy[examples]`.
+
+
+# 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
+dns_spoofing.py Use mitmproxy in a DNS spoofing scenario.
+dup_and_replay.py Duplicates each request, changes it, and then replays the modified request.
+filt.py Use mitmproxy's filter expressions in your script.
+flowwriter.py Only write selected flows into a mitmproxy dumpfile.
+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.
+
+
+# mitmproxy examples
+flowbasic Basic use of mitmproxy as a library.
+stickycookies An example of writing a custom proxy with mitmproxy.
+
+
+# misc
+read_dumpfile Read a dumpfile generated by mitmproxy.
+mitmproxywrapper.py Bracket mitmproxy run with proxy enable/disable on OS X