diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-18 12:40:45 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-18 12:40:45 +1300 |
commit | cd4eea39348fc9d59d4f0cc3f71384f7c1c2b2e2 (patch) | |
tree | ae09d5a06c1d7f2ae6314fd5f96d6b506f454507 /doc-src/scripts.html | |
parent | 7769e5a898150451a52b5683c519ee04802310b8 (diff) | |
download | mitmproxy-cd4eea39348fc9d59d4f0cc3f71384f7c1c2b2e2.tar.gz mitmproxy-cd4eea39348fc9d59d4f0cc3f71384f7c1c2b2e2.tar.bz2 mitmproxy-cd4eea39348fc9d59d4f0cc3f71384f7c1c2b2e2.zip |
First pass of script hooks for mitmdump.
Also stub out docs, improve mitmdump error handling.
Diffstat (limited to 'doc-src/scripts.html')
-rw-r--r-- | doc-src/scripts.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc-src/scripts.html b/doc-src/scripts.html new file mode 100644 index 00000000..b7085c79 --- /dev/null +++ b/doc-src/scripts.html @@ -0,0 +1,11 @@ + +Both __mitmproxy__ and __mitmdump__ allow you to modify requests and responses +with external scripts. The script interface is simple - scripts simply read, +modify and return a single __libmproxy.flow.Flow__ object, using the methods +defined in the __libmproxy.script__ module. Scripts must be executable. + +$!example("../examples/simple_script")!$ + + + + |