diff options
-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) |