From 8aa250d679a0e03546001295ee2e30fcb82516aa Mon Sep 17 00:00:00 2001 From: Ammonite Date: Fri, 20 Jan 2017 23:48:26 +0100 Subject: [PATCH] Change class name --- examples/complex/dns_spoofing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()