mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-29 02:54:27 +01:00
fix import copy bug
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import os
|
||||
import copy
|
||||
import time
|
||||
import uuid
|
||||
import copy
|
||||
|
||||
from zope.interface import implementer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user