diff --git a/cowrie/core/honeypot.py b/cowrie/core/honeypot.py index 8d43b7c..06335de 100644 --- a/cowrie/core/honeypot.py +++ b/cowrie/core/honeypot.py @@ -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):