aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/dns_spoofing.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-06-26 13:19:19 +0200
committerGitHub <noreply@github.com>2018-06-26 13:19:19 +0200
commit3f6147ee779c0011be673a2d1f5252153438d184 (patch)
tree969c5df77cced31575036701acd315710307ab55 /examples/complex/dns_spoofing.py
parent3cd37652709292cffa1bc733134cef5483489341 (diff)
parent2326f973df7a9ad995a4d96dd501786c4fc1f0e3 (diff)
downloadmitmproxy-3f6147ee779c0011be673a2d1f5252153438d184.tar.gz
mitmproxy-3f6147ee779c0011be673a2d1f5252153438d184.tar.bz2
mitmproxy-3f6147ee779c0011be673a2d1f5252153438d184.zip
Merge pull request #3225 from amm0nite/patch-1
Update CLI usage instructions for dns_spoofing example
Diffstat (limited to 'examples/complex/dns_spoofing.py')
-rw-r--r--examples/complex/dns_spoofing.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/complex/dns_spoofing.py b/examples/complex/dns_spoofing.py
index e28934ab..a3c1a017 100644
--- a/examples/complex/dns_spoofing.py
+++ b/examples/complex/dns_spoofing.py
@@ -13,12 +13,12 @@ Usage:
-p 443
-s dns_spoofing.py
# Used as the target location if neither SNI nor host header are present.
- -R http://example.com/
+ --mode reverse:http://example.com/
# To avoid auto rewriting of host header by the reverse proxy target.
- --keep-host-header
+ --set keep-host-header
mitmdump
-p 80
- -R http://localhost:443/
+ --mode reverse:http://localhost:443/
(Setting up a single proxy instance and using iptables to redirect to it
works as well)