From 74ab716a4f5d2ab2c7b03e79ca6fa3fad8f8100b Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Thu, 5 Nov 2015 00:34:16 +0400 Subject: [PATCH] better comments --- cowrie/core/ssh.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cowrie/core/ssh.py b/cowrie/core/ssh.py index b795616..6b8b25a 100644 --- a/cowrie/core/ssh.py +++ b/cowrie/core/ssh.py @@ -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