diff options
author | Pierre Cavan <amm0nite@users.noreply.github.com> | 2018-06-26 13:09:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 13:09:45 +0200 |
commit | 2326f973df7a9ad995a4d96dd501786c4fc1f0e3 (patch) | |
tree | 969c5df77cced31575036701acd315710307ab55 /examples | |
parent | 3cd37652709292cffa1bc733134cef5483489341 (diff) | |
download | mitmproxy-2326f973df7a9ad995a4d96dd501786c4fc1f0e3.tar.gz mitmproxy-2326f973df7a9ad995a4d96dd501786c4fc1f0e3.tar.bz2 mitmproxy-2326f973df7a9ad995a4d96dd501786c4fc1f0e3.zip |
Update CLI usage instructions
Diffstat (limited to 'examples')
-rw-r--r-- | examples/complex/dns_spoofing.py | 6 |
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) |