From 93cb73e2cd9a187ee96324fd02704d8b1725c20d Mon Sep 17 00:00:00 2001 From: Alex Lauerman Date: Thu, 25 Oct 2018 16:15:55 -0500 Subject: [PATCH] Corrected keep_host_header usage option I tested this locally to verify this change is correct. --- examples/complex/dns_spoofing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complex/dns_spoofing.py b/examples/complex/dns_spoofing.py index a3c1a017d..63222eae2 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/