diff --git a/examples/complex/dns_spoofing.py b/examples/complex/dns_spoofing.py index b814e178b..5a1b95d31 100644 --- a/examples/complex/dns_spoofing.py +++ b/examples/complex/dns_spoofing.py @@ -27,7 +27,7 @@ import re # https://bugzilla.mozilla.org/show_bug.cgi?id=45891 parse_host_header = re.compile(r"^(?P[^:]+|\[.+\])(?::(?P\d+))?$") -class DnsSpoofing: +class Rerouter: def __init__(self): self.hostHeader = None @@ -55,4 +55,4 @@ class DnsSpoofing: flow.request.port = port def start(): - return DnsSpoofing() + return Rerouter()