mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-20 22:04:31 +01:00
stop logging last, otherwise disconnect logging give exception
This commit is contained in:
@@ -105,9 +105,9 @@ class HoneyPotSSHFactory(factory.SSHFactory):
|
||||
def stopFactory(self):
|
||||
"""
|
||||
"""
|
||||
factory.SSHFactory.stopFactory(self)
|
||||
for output in self.output_plugins:
|
||||
output.stop()
|
||||
factory.SSHFactory.stopFactory(self)
|
||||
|
||||
|
||||
def buildProtocol(self, addr):
|
||||
|
||||
Reference in New Issue
Block a user