diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:11:21 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:37:08 +1300 |
commit | fb22f2ff4f75783ba786935c93b75f372ede21f5 (patch) | |
tree | a7055ebd090e11b163efa81b86086b7f88ca89e6 /netlib/socks.py | |
parent | 666c59cbfbcbd28062c201c3cb5d6cb928e90aee (diff) | |
download | mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.gz mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.bz2 mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.zip |
Zap object base class
Diffstat (limited to 'netlib/socks.py')
-rw-r--r-- | netlib/socks.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netlib/socks.py b/netlib/socks.py index 8d7c5279..41fde1cc 100644 --- a/netlib/socks.py +++ b/netlib/socks.py @@ -52,7 +52,7 @@ USERNAME_PASSWORD_VERSION = utils.BiDi( ) -class ClientGreeting(object): +class ClientGreeting(): __slots__ = ("ver", "methods") def __init__(self, ver, methods): @@ -89,7 +89,7 @@ class ClientGreeting(object): f.write(self.methods.tostring()) -class ServerGreeting(object): +class ServerGreeting(): __slots__ = ("ver", "method") def __init__(self, ver, method): @@ -117,7 +117,7 @@ class ServerGreeting(object): f.write(struct.pack("!BB", self.ver, self.method)) -class UsernamePasswordAuth(object): +class UsernamePasswordAuth(): __slots__ = ("ver", "username", "password") def __init__(self, ver, username, password): @@ -147,7 +147,7 @@ class UsernamePasswordAuth(object): f.write(self.password.encode()) -class UsernamePasswordAuthResponse(object): +class UsernamePasswordAuthResponse(): __slots__ = ("ver", "status") def __init__(self, ver, status): @@ -170,7 +170,7 @@ class UsernamePasswordAuthResponse(object): f.write(struct.pack("!BB", self.ver, self.status)) -class Message(object): +class Message(): __slots__ = ("ver", "msg", "atyp", "addr") def __init__(self, ver, msg, atyp, addr): |