Merge pull request #150 from CZ-NIC/2

Fix queued command parsing
This commit is contained in:
Michel Oosterhof
2016-04-27 12:36:04 +04:00

View File

@@ -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):