mirror of https://github.com/cowrie/cowrie.git
rename 'honeypot' parameter to 'protocol', the conch term
This commit is contained in:
parent
79ac8ca29f
commit
0fa0825231
|
@ -16,8 +16,8 @@ from kippo import core
|
|||
import pickle
|
||||
|
||||
class HoneyPotCommand(object):
|
||||
def __init__(self, honeypot, *args):
|
||||
self.honeypot = honeypot
|
||||
def __init__(self, protocol, *args):
|
||||
self.honeypot = protocol
|
||||
self.args = args
|
||||
self.writeln = self.honeypot.writeln
|
||||
self.write = self.honeypot.terminal.write
|
||||
|
@ -50,8 +50,8 @@ class HoneyPotCommand(object):
|
|||
pass
|
||||
|
||||
class HoneyPotShell(object):
|
||||
def __init__(self, honeypot, interactive = True):
|
||||
self.honeypot = honeypot
|
||||
def __init__(self, protocol, interactive = True):
|
||||
self.honeypot = protocol
|
||||
self.interactive = interactive
|
||||
self.showPrompt()
|
||||
self.cmdpending = []
|
||||
|
|
Loading…
Reference in New Issue