def cmd_view(self, args):
        """
        """
        self.readonly = True
        try:
            sessionno = int(args)
        except __HOLE__:
            self.transport.write('** Invalid session ID.\r\n')
            return
        for s in self.honeypotFactory.sessions:
            if sessionno == s:
                self.view(s)
                return
        self.transport.write('** No such session found.\r\n')
dataset/ETHPy150Open cowrie/cowrie/cowrie/core/interact.py/Interact.cmd_view