mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-01 12:34:35 +01:00
earlier fix broke dispatch
This commit is contained in:
@@ -44,6 +44,7 @@ class CowrieSSHFactory(factory.SSHFactory):
|
||||
"""
|
||||
Special delivery to the loggers to avoid scope problems
|
||||
"""
|
||||
args['sessionno'] = 'S'+str(args['sessionno'])
|
||||
for dblog in self.dbloggers:
|
||||
dblog.logDispatch(*msg, **args)
|
||||
for output in self.output_plugins:
|
||||
|
||||
@@ -32,6 +32,7 @@ class HoneyPotTelnetFactory(protocol.ServerFactory):
|
||||
"""
|
||||
Special delivery to the loggers to avoid scope problems
|
||||
"""
|
||||
args['sessionno'] = 'T'+str(args['sessionno'])
|
||||
for dblog in self.dbloggers:
|
||||
dblog.logDispatch(*msg, **args)
|
||||
for output in self.output_plugins:
|
||||
|
||||
Reference in New Issue
Block a user