mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-31 12:04:24 +01:00
Fix queued command parsing
- do not append line as string, but as list
This commit is contained in:
@@ -98,7 +98,7 @@ class HoneyPotCommand(object):
|
||||
"""
|
||||
log.msg('QUEUED INPUT: %s' % (line,))
|
||||
# FIXME: naive command parsing, see lineReceived below
|
||||
self.protocol.cmdstack[0].cmdpending.append(line)
|
||||
self.protocol.cmdstack[0].cmdpending.append(shlex.split(line))
|
||||
|
||||
|
||||
def resume(self):
|
||||
|
||||
Reference in New Issue
Block a user