예제 #1
0
 def lineReceived(self, line):
     """
     """
     log.msg('QUEUED INPUT: {}'.format(line))
     # FIXME: naive command parsing, see lineReceived below
     line = b"".join(line)
     line = line.decode("utf-8")
     self.protocol.cmdstack[0].cmdpending.append(shlex.split(line))
예제 #2
0
 def lineReceived(self, line):
     """
     """
     log.msg('QUEUED INPUT: {}'.format(line))
     # FIXME: naive command parsing, see lineReceived below
     self.protocol.cmdstack[0].cmdpending.append(shlex.split(line))
예제 #3
0
파일: honeypot.py 프로젝트: CZ-NIC/cowrie
 def lineReceived(self, line):
     """
     """
     log.msg('QUEUED INPUT: %s' % (line,))
     # FIXME: naive command parsing, see lineReceived below
     self.protocol.cmdstack[0].cmdpending.append(shlex.split(line))