def command_loop(self):
        while 1:
            cmd = raw_input("cmd > ")

            if cmd in ['exit', 'quit']:
                return

            print self.execute(cmd)
dataset/ETHPy150Open reverse-shell/routersploit/routersploit/modules/exploits/linksys/1500_2500_rce.py/Exploit.command_loop/original