mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-31 07:18:58 +00:00
Change class name
This commit is contained in:
parent
a55eba3b37
commit
8aa250d679
@ -27,7 +27,7 @@ import re
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=45891
|
||||
parse_host_header = re.compile(r"^(?P<host>[^:]+|\[.+\])(?::(?P<port>\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()
|
||||
|
Loading…
Reference in New Issue
Block a user