def __init__(self, client_address, server, _socket, session, vfs): self.session = session self.auth_count = 0 self.username = None request = TelnetWrapper.false_request() request._sock = _socket self.vfs = vfs Commands.__init__(self, request, client_address, server, vfs, self.session)
def writecooked(self, text): # TODO: Figure out way to log outgoing without logging "echo" # self.session.transcript_outgoing(text) Commands.writecooked(self, text)
def __init__(self, request, client_address, server, vfs, session): Commands.__init__(self, request, client_address, server, vfs, session)