diff --git a/kippo/core/protocol.py b/kippo/core/protocol.py index c268a32..706b7bd 100644 --- a/kippo/core/protocol.py +++ b/kippo/core/protocol.py @@ -30,7 +30,7 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol): else: self.cwd = '/' # commands is also a copy so we can add stuff on the fly - self.commands = copy(self.env.commands) + self.commands = copy.copy(self.env.commands) self.password_input = False self.cmdstack = [] diff --git a/kippo/core/ssh.py b/kippo/core/ssh.py index 67a401f..e7e6619 100644 --- a/kippo/core/ssh.py +++ b/kippo/core/ssh.py @@ -5,7 +5,6 @@ import os import copy import time import uuid -import copy from zope.interface import implementer