aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/content/tools-mitmproxy.md
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-05-15 12:01:10 +1200
committerGitHub <noreply@github.com>2018-05-15 12:01:10 +1200
commitb87a1a650c02e0df3f65ec1c126eace5e9139947 (patch)
treedb3fb15dfe00551e8b6a223a0007c231347374da /docs/src/content/tools-mitmproxy.md
parent3ec3e4bcc994122b0678d56abff70174478b9238 (diff)
parent56010ebcb7e3ac175441c6f2d1cbdf12067092ca (diff)
downloadmitmproxy-b87a1a650c02e0df3f65ec1c126eace5e9139947.tar.gz
mitmproxy-b87a1a650c02e0df3f65ec1c126eace5e9139947.tar.bz2
mitmproxy-b87a1a650c02e0df3f65ec1c126eace5e9139947.zip
Merge pull request #3125 from cortesi/ndocs
docs: tweaks and document keys.yaml
Diffstat (limited to 'docs/src/content/tools-mitmproxy.md')
-rw-r--r--docs/src/content/tools-mitmproxy.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/src/content/tools-mitmproxy.md b/docs/src/content/tools-mitmproxy.md
new file mode 100644
index 00000000..d3f05aef
--- /dev/null
+++ b/docs/src/content/tools-mitmproxy.md
@@ -0,0 +1,36 @@
+---
+title: "mitmproxy"
+menu: "tools"
+menu:
+ tools:
+ weight: 1
+---
+
+## mitmproxy
+
+{{< figure src="/screenshots/mitmproxy.png" >}}
+
+**mitmproxy** is a console tool that allows interactive examination and
+modification of HTTP traffic. It differs from mitmdump in that all flows are
+kept in memory, which means that it's intended for taking and manipulating
+small-ish samples. Use the `?` shortcut key to view, context-sensitive
+documentation from any **mitmproxy** screen.
+
+### Key binding configuration
+
+Mitmproxy's key bindings can be customized through in the
+`~/.mitmproxy/keys.yaml` file. This file consists of a sequence of maps, with
+the following keys:
+
+* `key` (**mandatory**): The key to bind.
+* `cmd` (**mandatory**): The command to execute when the key is pressed.
+* `context`: A list of contexts in which the key should be bound. By default this is **global** (i.e. the key is bound everywhere). Valid contexts are `chooser`, `commands`, `dataviewer`, `eventlog`, `flowlist`, `flowview`, `global`, `grideditor`, `help`, `keybindings`, `options`.
+* `help`: A help string for the binding which will be shown in the key binding browser.
+
+#### Example
+
+{{< example src="examples/keys.yaml" lang="yaml" >}}
+
+
+
+