Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
    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)
Exemplo n.º 4
0
 def connectionLost(self, reason):
     """
     Fires on pre-authentication disconnects
     """
     AuthenticatingTelnetProtocol.connectionLost(self, reason)
Exemplo n.º 5
0
 def connectionLost(self, reason):
     """
     Fires on pre-authentication disconnects
     """
     AuthenticatingTelnetProtocol.connectionLost(self, reason)