diff --git a/examples/complex/dns_spoofing.py b/examples/complex/dns_spoofing.py index 5e6cf9785..1fb59f74c 100644 --- a/examples/complex/dns_spoofing.py +++ b/examples/complex/dns_spoofing.py @@ -53,6 +53,7 @@ class Rerouter: if m.group("port"): port = int(m.group("port")) + flow.request.headers["Host"] = host_header flow.request.host = sni or host_header flow.request.port = port