|
@ -67,9 +67,6 @@ class Socks5Server(SocketServer.StreamRequestHandler): |
|
|
def decrypt(self, data): |
|
|
def decrypt(self, data): |
|
|
return data.translate(decrypt_table) |
|
|
return data.translate(decrypt_table) |
|
|
|
|
|
|
|
|
def send_encrpyt(self, sock, data): |
|
|
|
|
|
sock.send(self.encrypt(data)) |
|
|
|
|
|
|
|
|
|
|
|
def handle(self): |
|
|
def handle(self): |
|
|
try: |
|
|
try: |
|
|
print 'socks connection from ', self.client_address |
|
|
print 'socks connection from ', self.client_address |
|
|