mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-24 09:24:23 +01:00
better comments
This commit is contained in:
@@ -162,7 +162,7 @@ class HoneyPotSSHFactory(factory.SSHFactory):
|
||||
|
||||
def startFactory(self):
|
||||
|
||||
# protocol^Wwhatever instances are kept here for the interact feature
|
||||
# interactive protocols are kept here for the interact feature
|
||||
self.sessions = {}
|
||||
|
||||
# for use by the uptime command
|
||||
@@ -422,7 +422,6 @@ class HoneyPotAvatar(avatar.ConchUser):
|
||||
self.server = server
|
||||
self.cfg = self.server.cfg
|
||||
self.protocol = None
|
||||
self.IAMAVATAR = server
|
||||
|
||||
self.channelLookup.update({'session': HoneyPotSSHSession})
|
||||
self.channelLookup['direct-tcpip'] = CowrieOpenConnectForwardingClient
|
||||
|
||||
Reference in New Issue
Block a user