diff --git a/examples/sslstrip.py b/examples/sslstrip.py index b5e463975..5e1eb56f7 100644 --- a/examples/sslstrip.py +++ b/examples/sslstrip.py @@ -16,6 +16,7 @@ def request(flow): if flow.request.pretty_host in secure_hosts: flow.request.scheme = 'https' flow.request.port = 443 + flow.request.host = flow.request.pretty_host def response(flow):