#NEWLINE# def start( self ) : #NEWLINE# #INDENT# ' Routersploit main entry point. Starting interpreter loop. ' #NEWLINE# print ( self . banner ) #NEWLINE# while True : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ( command , args ) = self . parse_line ( raw_input ( self . prompt ) ) #NEWLINE# if ( not command ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# command_handler = self . get_command_handler ( command ) #NEWLINE# command_handler ( args ) #NEWLINE# #UNINDENT# except RoutersploitException as err : #NEWLINE# #INDENT# utils . print_error ( err ) #NEWLINE# #UNINDENT# except ( KeyboardInterrupt , EOFError ) : #NEWLINE# #INDENT# print ( ) #NEWLINE# utils . print_status ( 'routersploit stopped' ) #NEWLINE# break