aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlex Lauerman <alex.lauerman@gmail.com>2018-10-25 16:15:55 -0500
committerGitHub <noreply@github.com>2018-10-25 16:15:55 -0500
commit93cb73e2cd9a187ee96324fd02704d8b1725c20d (patch)
tree2c5d1361acb65c084f593fe19be513e018c025e9 /examples
parent997a20e6524de215f201fbac648435208f0ec235 (diff)
downloadmitmproxy-93cb73e2cd9a187ee96324fd02704d8b1725c20d.tar.gz
mitmproxy-93cb73e2cd9a187ee96324fd02704d8b1725c20d.tar.bz2
mitmproxy-93cb73e2cd9a187ee96324fd02704d8b1725c20d.zip
Corrected keep_host_header usage option
I tested this locally to verify this change is correct.
Diffstat (limited to 'examples')
-rw-r--r--examples/complex/dns_spoofing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/dns_spoofing.py b/examples/complex/dns_spoofing.py
index a3c1a017..63222eae 100644
--- a/examples/complex/dns_spoofing.py
+++ b/examples/complex/dns_spoofing.py
@@ -15,7 +15,7 @@ Usage:
# Used as the target location if neither SNI nor host header are present.
--mode reverse:http://example.com/
# To avoid auto rewriting of host header by the reverse proxy target.
- --set keep-host-header
+ --set keep_host_header
mitmdump
-p 80
--mode reverse:http://localhost:443/