Commit c20f9a3d by fwkz

Adding space to 'setg' tab-completion

parent 77598c95
...@@ -250,7 +250,7 @@ class RoutersploitInterpreter(BaseInterpreter): ...@@ -250,7 +250,7 @@ class RoutersploitInterpreter(BaseInterpreter):
if self.current_module: if self.current_module:
module_commands = ['run', 'back', 'set ', 'setg ', 'show ', 'check', 'exec ', 'help', 'exit'] module_commands = ['run', 'back', 'set ', 'setg ', 'show ', 'check', 'exec ', 'help', 'exit']
if GLOBAL_OPTS.keys(): if GLOBAL_OPTS.keys():
return itertools.chain(module_commands, ('unsetg',)) return itertools.chain(module_commands, ('unsetg ',))
return module_commands return module_commands
else: else:
return ['use ', 'exec', 'help', 'exit'] return ['use ', 'exec', 'help', 'exit']
......
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