Skip to content

Commit

Permalink
Removing unused function from interpreter.
Browse files Browse the repository at this point in the history
  • Loading branch information
fwkz committed Apr 24, 2016
1 parent 5f95d4b commit 47c1876
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions routersploit/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,24 +293,6 @@ def command_run(self, *args, **kwargs):
except:
utils.print_error(traceback.format_exc(sys.exc_info()))

def __multiple_run(self):
_, _, path = self.current_module.target.partition('file://')
with open(path, 'r') as file_handler:
for target in file_handler:
target = target.strip()
if not target:
continue
print()
utils.print_status("Running module against following target: {}".format(target))
self.current_module.target = target
try:
self.current_module.run()
except KeyboardInterrupt:
utils.print_status("Module has been stopped.")
break
except:
utils.print_error(traceback.format_exc(sys.exc_info()))

def command_exploit(self, *args, **kwargs):
self.command_run()

Expand Down

0 comments on commit 47c1876

Please sign in to comment.