Commit c28706ba by Max Zinkus

Clean up output from cancelled run

parent 7b89464f
...@@ -274,6 +274,9 @@ class RoutersploitInterpreter(BaseInterpreter): ...@@ -274,6 +274,9 @@ class RoutersploitInterpreter(BaseInterpreter):
utils.print_status("Running module...") utils.print_status("Running module...")
try: try:
self.current_module.run() self.current_module.run()
except KeyboardInterrupt:
print()
utils.print_error("Operation cancelled by user")
except: except:
utils.print_error(traceback.format_exc(sys.exc_info())) utils.print_error(traceback.format_exc(sys.exc_info()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment