def connectionLost(self, reason): """ Fires on pre-authentication disconnects """ if self.transport.transport.sessionno in self.factory.sessions: del self.factory.sessions[self.transport.transport.sessionno] AuthenticatingTelnetProtocol.connectionLost(self, reason)
def connectionLost(self, reason): """ Fires on pre-authentication disconnects """ if self.transport.transport.sessionno in self.factory.sessions: del self.factory.sessions[self.transport.transport.sessionno] AuthenticatingTelnetProtocol.connectionLost(self, reason)
def connectionLost(self, reason): """ Fires on pre-authentication disconnects """ self.setTimeout(None) if self.transport.transport.sessionno in self.factory.sessions: del self.factory.sessions[self.transport.transport.sessionno] log.msg(eventid='cowrie.session.closed', format='Connection lost') AuthenticatingTelnetProtocol.connectionLost(self, reason)
def connectionLost(self, reason): """ Fires on pre-authentication disconnects """ AuthenticatingTelnetProtocol.connectionLost(self, reason)
def connectionLost(self, reason): """ Fires on pre-authentication disconnects """ AuthenticatingTelnetProtocol.connectionLost(self, reason)