diff options
author | kira0204 <rshtmudgal@gmail.com> | 2018-02-25 22:52:12 +0530 |
---|---|---|
committer | kira0204 <rshtmudgal@gmail.com> | 2018-02-25 22:52:12 +0530 |
commit | 93ce72d0b1f643203e1444faa9af88c7e02b5aeb (patch) | |
tree | ef4320636630e69dda2ac455ed577c8da5e341b7 /docs/src/content/howto-transparent.md | |
parent | f31ce49aa59558b354e6524d5370eb36f055c876 (diff) | |
download | mitmproxy-93ce72d0b1f643203e1444faa9af88c7e02b5aeb.tar.gz mitmproxy-93ce72d0b1f643203e1444faa9af88c7e02b5aeb.tar.bz2 mitmproxy-93ce72d0b1f643203e1444faa9af88c7e02b5aeb.zip |
few more fixes,picture mod
Diffstat (limited to 'docs/src/content/howto-transparent.md')
-rw-r--r-- | docs/src/content/howto-transparent.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/src/content/howto-transparent.md b/docs/src/content/howto-transparent.md index 224cb5ee..3d99e9dc 100644 --- a/docs/src/content/howto-transparent.md +++ b/docs/src/content/howto-transparent.md @@ -58,7 +58,7 @@ dropped privileges. It can be used as follows: gcc examples/complex/full_transparency_shim.c -o mitmproxy_shim -lcap sudo chown root:root mitmproxy_shim sudo chmod u+s mitmproxy_shim -./mitmproxy_shim $(which mitmproxy) -T --spoof-source-address +./mitmproxy_shim $(which mitmproxy) --mode transparent --set spoof-source-address {{< / highlight >}} @@ -112,10 +112,10 @@ something like this: You probably want a command like this: {{< highlight bash >}} -mitmproxy -T --host +mitmproxy --mode transparent --showhost {{< / highlight >}} -The `-T` flag turns on transparent mode, and the `--host` argument tells +The `--mode transparent` option turns on transparent mode, and the `--showhost` argument tells mitmproxy to use the value of the Host header for URL display. ### 6. Finally, configure your test device @@ -163,10 +163,10 @@ doas pfctl -e You probably want a command like this: {{< highlight bash >}} -mitmproxy -T --host +mitmproxy --mode transparent --showhost {{< / highlight >}} -The `-T` flag turns on transparent mode, and the `--host` argument tells +The `--mode transparent` option turns on transparent mode, and the `--showhost` argument tells mitmproxy to use the value of the Host header for URL display. ### 6. Finally, configure your test device @@ -245,10 +245,10 @@ tighten the restriction up to the user running mitmproxy. You probably want a command like this: {{< highlight bash >}} -mitmproxy -T --host +mitmproxy --mode transparent --showhost {{< / highlight >}} -The `-T` flag turns on transparent mode, and the `--host` argument tells +The `--mode transparent` flag turns on transparent mode, and the `--showhost` argument tells mitmproxy to use the value of the Host header for URL display. ### 6. Finally, configure your test device |