diff --git a/.gitignore b/.gitignore index 27bb7a22c..0b5079e04 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,6 @@ target/ # VS Code .vscode + +# virtualenv +venv/ diff --git a/routersploit/interpreter.py b/routersploit/interpreter.py index 381c24bf8..f39f701ab 100644 --- a/routersploit/interpreter.py +++ b/routersploit/interpreter.py @@ -16,6 +16,7 @@ class BaseInterpreter(object): history_file = os.path.expanduser("~/.history") history_length = 100 + global_help = "" def __init__(self): self.setup() @@ -146,6 +147,18 @@ def suggested_commands(self): class RoutersploitInterpreter(BaseInterpreter): history_file = os.path.expanduser("~/.rsf_history") + global_help = """Global commands: + help Print this help menu + use Select a module for usage + exec Execute a command in a shell + exit Exit RouterSploit""" + + module_help = """Module commands: + run Run the selected module with the given options + back De-select the current module + set