Unverified Commit 822deeba by Marcin Bury Committed by GitHub

Removing template functionality (#389)

parent 278c14e3
...@@ -2,24 +2,17 @@ ...@@ -2,24 +2,17 @@
from __future__ import print_function from __future__ import print_function
import argparse
import logging.handlers import logging.handlers
from routersploit.interpreter import RoutersploitInterpreter from routersploit.interpreter import RoutersploitInterpreter
log_handler = logging.handlers.RotatingFileHandler(filename='routersploit.log', maxBytes=500000) log_handler = logging.handlers.RotatingFileHandler(filename="routersploit.log", maxBytes=500000)
log_formatter = logging.Formatter('%(asctime)s %(levelname)s %(name)s %(message)s') log_formatter = logging.Formatter("%(asctime)s %(levelname)s %(name)s %(message)s")
log_handler.setFormatter(log_formatter) log_handler.setFormatter(log_formatter)
LOGGER = logging.getLogger() LOGGER = logging.getLogger()
LOGGER.setLevel(logging.DEBUG) LOGGER.setLevel(logging.DEBUG)
LOGGER.addHandler(log_handler) LOGGER.addHandler(log_handler)
parser = argparse.ArgumentParser(description='RouterSploit - Router Exploitation Framework')
parser.add_argument('-a',
'--add-exploit',
metavar='exploit_path',
help='Add exploit using default template.')
def routersploit(): def routersploit():
rsf = RoutersploitInterpreter() rsf = RoutersploitInterpreter()
......
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