Module ImportFrom alias Import alias Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse TryExcept body Expr SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass Expr Call Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Str Str Assign TupleStore NameStore NameStore TupleLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Dict Str NameLoad Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Delete AttributeDel AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameStore Str Assign AttributeStore NameLoad attr NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Delete AttributeDel AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad Str Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr keyword Str Delete AttributeDel NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Str Str Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad TupleLoad Str ListLoad Str Str ListLoad Str Str TupleLoad Str ListLoad ListLoad Str Str Str Str TupleLoad Str ListLoad ListLoad Str Str Str Str Assign AttributeStore NameLoad attr ListLoad Num Num Num Num Num Assign AttributeStore NameLoad attr ListLoad ListLoad ListLoad ListLoad TupleLoad Str NameLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str NameLoad ListLoad ListLoad TupleLoad Str NameLoad TupleLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad TupleLoad Str ListLoad Str Str ListLoad Str Str TupleLoad Str ListLoad ListLoad Str Str Str Str TupleLoad Str ListLoad ListLoad Str Str Str Str Str Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr ListLoad Num Num NameLoad Num Num NameLoad Assign AttributeStore NameLoad attr ListLoad ListLoad ListLoad ListLoad ListLoad TupleLoad Str NameLoad TupleLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ print_function N/A unittest N/A os N/A inspect N/A N/A N/A unittest.mock mock N/A N/A N/A ImportError N/A N/A mock routersploit.interpreter RoutersploitInterpreter routersploit.exploits Exploit TestExploit N/A Exploit N/A N/A N/A RoutersploitInterpreterTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A RoutersploitInterpreter setup N/A N/A mock Mock N/A N/A self interpreter N/A RoutersploitInterpreter N/A N/A N/A self interpreter current_module N/A N/A mock MagicMock N/A N/A self raw_prompt_default [4mrsf[0m >  N/A N/A self module_prompt_default N/A N/A N/A x N/A N/A N/A [4mrsf[0m ([91m{}[0m) >  format x N/A prepare_prompt_env_variables N/A N/A self raw_prompt module_prompt N/A None None N/A N/A raw_prompt N/A N/A N/A N/A os environ N/A RSF_RAW_PROMPT raw_prompt N/A N/A N/A N/A N/A N/A os environ N/A RSF_RAW_PROMPT N/A N/A N/A KeyError N/A N/A N/A module_prompt N/A N/A N/A N/A os environ N/A RSF_MODULE_PROMPT module_prompt N/A N/A N/A N/A N/A N/A os environ N/A RSF_MODULE_PROMPT N/A N/A N/A KeyError N/A N/A N/A N/A N/A getattr N/A self interpreter N/A N/A _{}__parse_prompt format N/A N/A N/A self interpreter __class__ __name__ N/A assertIsDecorated N/A N/A self function decorator_name N/A N/A N/A N/A N/A decorator_list N/A function __decorators__ N/A N/A N/A AttributeError N/A N/A decorator_list N/A N/A N/A N/A self assertIn decorator_name decorator_list msg N/A N/A '{}' method should be decorated with 'module_required' format N/A function __name__ N/A test_command_set N/A N/A self mock_print_success N/A N/A N/A N/A rhost new_rhost_value N/A rhost_value new_rhost_value N/A N/A port new_port_value N/A port_value new_port_value N/A N/A N/A N/A self interpreter current_module options N/A rhost port N/A N/A N/A N/A self interpreter current_module rhost rhost N/A N/A N/A N/A self interpreter current_module port port N/A N/A N/A self assertEqual N/A N/A N/A self interpreter current_module rhost rhost N/A N/A N/A self assertEqual N/A N/A N/A self interpreter current_module port port N/A N/A N/A N/A self interpreter command_set N/A N/A rhost {} format new_rhost_value N/A N/A N/A N/A self interpreter command_set N/A N/A port {} format new_port_value N/A N/A N/A self assertEqual N/A N/A N/A self interpreter current_module rhost new_rhost_value N/A N/A N/A self assertEqual N/A N/A N/A self interpreter current_module port new_port_value N/A N/A N/A self assertEqual N/A mock_print_success mock_calls N/A N/A N/A mock call N/A rhost new_rhost_value N/A N/A mock call N/A port new_port_value N/A N/A N/A mock patch routersploit.utils.print_success test_command_set_unknown_option N/A N/A self mock_print_error N/A N/A N/A unknown_option unknown N/A N/A N/A N/A self interpreter current_module unknown N/A known_options N/A known_option_1 known_option_2 N/A N/A N/A N/A self interpreter current_module options known_options N/A N/A N/A N/A self interpreter command_set N/A N/A {} doesnt_matter_value format unknown_option N/A N/A N/A self assertEqual N/A mock_print_error mock_calls N/A N/A N/A mock call N/A N/A You can't set option '{}'.
Available options: {} format unknown_option known_options N/A N/A N/A mock patch routersploit.utils.print_error test_command_run N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self interpreter current_module run mock_run N/A N/A N/A N/A N/A self interpreter command_run N/A N/A N/A mock_run assert_called_once_with N/A test_command_check_target_vulnerable N/A N/A self mock_print_success N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self interpreter current_module check mock_check N/A N/A N/A mock_check return_value True N/A N/A N/A N/A self interpreter command_check N/A N/A N/A mock_check assert_called_once_with N/A N/A N/A mock_print_success assert_called_once_with Target is vulnerable N/A N/A N/A mock patch routersploit.utils.print_success test_command_check_target_not_vulnerable N/A N/A self print_error N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self interpreter current_module check mock_check N/A N/A N/A mock_check return_value False N/A N/A N/A N/A self interpreter command_check N/A N/A N/A mock_check assert_called_once_with N/A N/A N/A print_error assert_called_once_with Target is not vulnerable N/A N/A N/A mock patch routersploit.utils.print_error test_command_check_target_could_not_be_verified_1 N/A N/A self print_status N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self interpreter current_module check mock_check N/A N/A N/A mock_check return_value something N/A N/A N/A N/A self interpreter command_check N/A N/A N/A mock_check assert_called_once_with N/A N/A N/A print_status assert_called_once_with Target could not be verified N/A N/A N/A mock patch routersploit.utils.print_status test_command_check_target_could_not_be_verified_2 N/A N/A self print_status N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self interpreter current_module check mock_check N/A N/A N/A mock_check return_value None N/A N/A N/A N/A self interpreter command_check N/A N/A N/A mock_check assert_called_once_with N/A N/A N/A print_status assert_called_once_with Target could not be verified N/A N/A N/A mock patch routersploit.utils.print_status test_command_run_exception_during_exploit_execution N/A N/A self mock_print_error mock_format_exc mock_exc_info N/A N/A N/A N/A N/A N/A mock patch object N/A N/A self interpreter current_module run mock_run N/A N/A N/A mock_run side_effect RuntimeError N/A N/A mock_format_exc return_value stacktrace stacktrace N/A N/A mock_exc_info return_value info info N/A N/A N/A N/A self interpreter command_run N/A N/A N/A mock_run assert_called_once_with N/A N/A N/A mock_format_exc assert_called_once_with info N/A N/A N/A mock_print_error assert_called_once_with stacktrace N/A N/A N/A mock patch sys.exc_info N/A N/A mock patch traceback.format_exc N/A N/A mock patch routersploit.utils.print_error test_command_back N/A N/A self N/A N/A N/A N/A N/A self assertIsNotNone N/A N/A self interpreter current_module N/A N/A N/A N/A self interpreter command_back N/A N/A N/A self assertIsNone N/A N/A self interpreter current_module N/A test_custom_raw_prompt N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables raw_prompt ***{host}*** N/A N/A N/A self interpreter current_module None N/A N/A N/A self assertEqual ***rsf*** N/A N/A self interpreter prompt N/A test_default_raw_prompt_no_env_variable N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables N/A N/A N/A self interpreter current_module None N/A N/A N/A self assertEqual N/A self raw_prompt_default N/A N/A self interpreter prompt N/A test_default_raw_prompt_wrong_env_variable_format N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables raw_prompt wrong_format > N/A N/A N/A self interpreter current_module None N/A N/A N/A self assertEqual N/A self raw_prompt_default N/A N/A self interpreter prompt N/A test_custom_module_ N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables module_prompt *{host}*{module} >>> N/A module_name module_name N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ N/A name module_name N/A N/A N/A self assertEqual N/A N/A *rsf*{} >>> format module_name N/A N/A self interpreter prompt N/A test_default_module_prompt_no_env_variable N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables N/A name current_module_name N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ N/A name name N/A N/A N/A self assertEqual N/A N/A self module_prompt_default name N/A N/A self interpreter prompt N/A test_default_module_prompt_wrong_env_variable_format_1 N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables raw_prompt {module} > N/A name current_module_name N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ N/A name name N/A N/A N/A self assertEqual N/A N/A self module_prompt_default name N/A N/A self interpreter prompt N/A test_default_module_prompt_wrong_env_variable_format_2 N/A N/A self N/A N/A N/A N/A N/A self prepare_prompt_env_variables module_prompt {host} > N/A name current_module_name N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ N/A name name N/A N/A N/A self assertEqual N/A N/A self module_prompt_default name N/A N/A self interpreter prompt N/A test_module_prompt_module_has_no_metadata N/A N/A self N/A N/A N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ N/A N/A N/A self assertEqual N/A N/A self module_prompt_default UnnamedModule N/A N/A self interpreter prompt N/A test_module_prompt_module_has_no_name_key_in_metadata N/A N/A self N/A N/A N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ N/A N/A N/A N/A self assertEqual N/A N/A self module_prompt_default UnnamedModule N/A N/A self interpreter prompt N/A test_suggested_commands_with_loaded_module N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self interpreter suggested_commands N/A run back set  show  check debug exit N/A test_suggested_commands_without_loaded_module N/A N/A self N/A N/A N/A N/A N/A self interpreter current_module None N/A N/A N/A self assertEqual N/A N/A N/A self interpreter suggested_commands N/A use  debug exit N/A test_command_use_01 N/A N/A self mocked_import_module N/A N/A N/A  Testing command_use()

        * Known Exploit
        * Known module
         N/A module_path exploits/foo/bar N/A N/A N/A self interpreter current_module None N/A N/A N/A self interpreter modules N/A module_path doo/pa/foo/bar N/A exploit_class N/A N/A mock MagicMock name password_disclosure_module N/A N/A mocked_import_module return_value mocked_module N/A N/A mock MagicMock name module N/A N/A mocked_module Exploit exploit_class N/A N/A N/A N/A self interpreter command_use module_path N/A N/A N/A mocked_import_module assert_called_once_with routersploit.modules.exploits.foo.bar N/A N/A N/A self assertEqual N/A N/A self interpreter current_module N/A exploit_class N/A N/A N/A mock patch importlib.import_module test_command_use_02 N/A N/A self mocked_import_module N/A N/A N/A  Testing command_use()

        * Known Exploit
        * Known module
         N/A module_path creds/foo/bar/baz N/A N/A N/A self interpreter current_module None N/A N/A N/A self interpreter modules N/A module_path doo/pa/foo/bar N/A exploit_class N/A N/A mock MagicMock name password_disclosure_module N/A N/A mocked_import_module return_value mocked_module N/A N/A mock MagicMock name module N/A N/A mocked_module Exploit exploit_class N/A N/A N/A N/A self interpreter command_use module_path N/A N/A N/A mocked_import_module assert_called_once_with routersploit.modules.creds.foo.bar.baz N/A N/A N/A self assertEqual N/A N/A self interpreter current_module N/A exploit_class N/A N/A N/A mock patch importlib.import_module test_command_use_unknown_module N/A N/A self mocked_print_error mocked_import_module N/A N/A N/A  Testing command_use()

        * Unknown module
         N/A N/A N/A self interpreter current_module None N/A N/A N/A self interpreter modules N/A doo/pa/foo/bar N/A module_path creds/foo/bar/baz N/A N/A mocked_import_module side_effect ImportError N/A N/A N/A N/A self interpreter command_use module_path N/A N/A N/A mocked_import_module assert_called_once_with routersploit.modules.creds.foo.bar.baz N/A N/A N/A mocked_print_error assert_called_once_with Error during loading 'routersploit/modules/creds/foo/bar/baz' module. It should be valid path to the module. Use <tab> key multiple times for completion. N/A N/A N/A self assertEqual N/A N/A self interpreter current_module None N/A N/A N/A mock patch importlib.import_module N/A N/A mock patch routersploit.utils.print_error test_command_use_unknown_extension N/A N/A self mocked_print_error mocked_import_module N/A N/A N/A  Testing command_use()

        * Unknown Exploit
        * Known module
         N/A module_path exploits/foo/bar N/A N/A N/A self interpreter current_module None N/A N/A N/A self interpreter modules N/A module_path doo/pa/foo/bar N/A N/A mocked_import_module return_value mocked_module N/A N/A mock MagicMock name module N/A N/A mocked_module Exploit N/A N/A N/A N/A self interpreter command_use module_path N/A N/A N/A mocked_import_module assert_called_once_with routersploit.modules.exploits.foo.bar N/A N/A N/A mocked_print_error assert_called_once_with Error during loading 'routersploit/modules/exploits/foo/bar' module. It should be valid path to the module. Use <tab> key multiple times for completion. N/A N/A N/A self assertEqual N/A N/A self interpreter current_module None N/A N/A N/A mock patch importlib.import_module N/A N/A mock patch routersploit.utils.print_error test_command_show_info N/A N/A self mock_print N/A N/A N/A metadata N/A targets authors references description name target_desc authors_desc references_desc description_desc name_desc N/A description Elaborate description fo the module N/A N/A N/A N/A self interpreter current_module __doc__ description N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ metadata N/A N/A N/A N/A self interpreter command_show info N/A N/A N/A self assertEqual N/A mock_print mock_calls N/A N/A N/A mock call 
Name: N/A N/A mock call name_desc N/A N/A mock call 
Description: N/A N/A mock call description_desc N/A N/A mock call 
Targets: N/A N/A mock call target_desc N/A N/A mock call 
Authors: N/A N/A mock call authors_desc N/A N/A mock call 
References: N/A N/A mock call references_desc N/A N/A mock call N/A N/A N/A mock patch __builtin__.print test_command_show_info_module_with_no_metadata N/A N/A self mock_print N/A N/A N/A metadata N/A N/A description Elaborate description fo the module N/A N/A N/A N/A self interpreter current_module __doc__ description N/A N/A N/A N/A self interpreter current_module _MagicMock__info__ metadata N/A N/A N/A N/A self interpreter command_show info N/A N/A N/A self assertEqual N/A mock_print mock_calls N/A N/A N/A mock call N/A N/A N/A mock patch __builtin__.print test_command_show_options N/A N/A self mock_print N/A N/A N/A exploit_attributes N/A target port foo bar baz target_desc port_desc foo_desc bar_desc baz_desc N/A N/A N/A N/A self interpreter current_module options N/A target port foo bar baz N/A N/A N/A N/A N/A N/A self interpreter current_module exploit_attributes __getitem__ side_effect N/A N/A N/A key N/A N/A exploit_attributes N/A key N/A N/A N/A N/A self interpreter current_module foo 1 N/A N/A N/A N/A self interpreter current_module bar 2 N/A N/A N/A N/A self interpreter current_module baz 3 N/A N/A N/A N/A self interpreter current_module target 127.0.0.1 N/A N/A N/A N/A self interpreter current_module port 22 N/A N/A N/A N/A self interpreter command_show options N/A N/A N/A self assertEqual N/A mock_print mock_calls N/A N/A N/A mock call 
Target options: N/A N/A mock call N/A N/A mock call    Name       Current settings     Description      N/A N/A mock call    ----       ----------------     -----------      N/A N/A mock call    target     127.0.0.1            target_desc      N/A N/A mock call    port       22                   port_desc        N/A N/A mock call N/A N/A mock call 
Module options: N/A N/A mock call N/A N/A mock call    Name     Current settings     Description      N/A N/A mock call    ----     ----------------     -----------      N/A N/A mock call    bar      2                    bar_desc         N/A N/A mock call    foo      1                    foo_desc         N/A N/A mock call    baz      3                    baz_desc         N/A N/A mock call N/A N/A mock call N/A N/A N/A mock patch __builtin__.print test_command_show_options_when_there_is_no_module_opts N/A N/A self mock_print N/A N/A N/A exploit_attributes N/A target port target_desc port_desc N/A N/A N/A N/A self interpreter current_module options N/A target port N/A N/A N/A N/A N/A N/A self interpreter current_module exploit_attributes __getitem__ side_effect N/A N/A N/A key N/A N/A exploit_attributes N/A key N/A N/A N/A N/A self interpreter current_module target 127.0.0.1 N/A N/A N/A N/A self interpreter current_module port 22 N/A N/A N/A N/A self interpreter command_show options N/A N/A N/A self assertEqual N/A mock_print mock_calls N/A N/A N/A mock call 
Target options: N/A N/A mock call N/A N/A mock call    Name       Current settings     Description      N/A N/A mock call    ----       ----------------     -----------      N/A N/A mock call    target     127.0.0.1            target_desc      N/A N/A mock call    port       22                   port_desc        N/A N/A mock call N/A N/A mock call N/A N/A N/A mock patch __builtin__.print test_command_show_unknown_sub_command N/A N/A self mock_print N/A N/A N/A help_text Unknown command 'show unknown_sub_command'. You want to 'show info' or 'show options'? N/A N/A N/A N/A self interpreter command_show unknown_sub_command N/A N/A N/A self assertEqual N/A mock_print mock_calls N/A N/A N/A mock call help_text N/A N/A N/A mock patch __builtin__.print test_if_command_run_has_module_required_decorator N/A N/A self N/A N/A N/A N/A N/A self assertIsDecorated N/A N/A self interpreter command_run module_required N/A test_if_command_set_has_module_required_decorator N/A N/A self N/A N/A N/A N/A N/A self assertIsDecorated N/A N/A self interpreter command_set module_required N/A test_if_command_show_has_module_required_decorator N/A N/A self N/A N/A N/A N/A N/A self assertIsDecorated N/A N/A self interpreter command_show module_required N/A test_if_command_check_has_module_required_decorator N/A N/A self N/A N/A N/A N/A N/A self assertIsDecorated N/A N/A self interpreter command_check module_required N/A test_load_modules N/A N/A self mock_getmembers mock_import_module mock_walk N/A N/A N/A N/A mock_walk return_value N/A N/A /Abs/Path/routersploit/routersploit/modules N/A asmax creds N/A __init__.py __init__.pyc N/A /Abs/Path/routersploit/routersploit/modules/creds N/A N/A __init__.py __init__.pyc ftp_bruteforce.py ftp_bruteforce.pyc N/A /Abs/Path/routersploit/routersploit/modules/exploits/asmax N/A N/A __init__.py __init__.pyc asmax_exploit.py asmax_exploit.pyc N/A N/A mock_import_module side_effect N/A 1 2 3 4 5 N/A N/A mock_getmembers side_effect N/A N/A N/A N/A N/A FTPBruteforce TestExploit N/A SomeClass N/A mock MagicMock N/A Exploit123 TestExploit N/A N/A N/A Exploit TestExploit N/A SomeClass N/A mock MagicMock N/A N/A N/A N/A self interpreter load_modules N/A N/A N/A mock_walk assert_called_once_with N/A N/A self interpreter modules_directory N/A N/A N/A self assertEqual N/A mock_import_module mock_calls N/A N/A N/A mock call routersploit.modules.__init__ N/A N/A mock call routersploit.modules.creds.__init__ N/A N/A mock call routersploit.modules.creds.ftp_bruteforce N/A N/A mock call routersploit.modules.exploits.asmax.__init__ N/A N/A mock call routersploit.modules.exploits.asmax.asmax_exploit N/A N/A N/A self assertEqual N/A mock_getmembers mock_calls N/A N/A N/A mock call 1 N/A inspect isclass N/A N/A mock call 2 N/A inspect isclass N/A N/A mock call 3 N/A inspect isclass N/A N/A mock call 4 N/A inspect isclass N/A N/A mock call 5 N/A inspect isclass N/A N/A N/A self assertEqual N/A N/A self interpreter modules N/A creds.ftp_bruteforce exploits.asmax.asmax_exploit N/A N/A N/A mock patch os.walk N/A N/A mock patch importlib.import_module N/A N/A mock patch inspect.getmembers test_load_modules_import_error N/A N/A self mock_getmembers mock_import_module mock_walk N/A N/A N/A N/A mock_walk return_value N/A N/A /Abs/Path/routersploit/routersploit/modules N/A asmax creds N/A __init__.py __init__.pyc N/A /Abs/Path/routersploit/routersploit/modules/creds N/A N/A __init__.py __init__.pyc ftp_bruteforce.py ftp_bruteforce.pyc N/A /Abs/Path/routersploit/routersploit/modules/exploits/asmax N/A N/A __init__.py __init__.pyc asmax_exploit.py asmax_exploit.pyc asmax_multi.py asmax_multi.pyc N/A import_error N/A ImportError No module doopaa N/A N/A mock_import_module side_effect N/A 1 2 import_error 4 5 import_error N/A N/A mock_getmembers side_effect N/A N/A N/A N/A N/A N/A Exploit TestExploit N/A SomeClass N/A mock MagicMock N/A N/A N/A N/A self interpreter load_modules N/A N/A N/A mock_walk assert_called_once_with N/A N/A self interpreter modules_directory N/A N/A N/A self assertEqual N/A mock_import_module mock_calls N/A N/A N/A mock call routersploit.modules.__init__ N/A N/A mock call routersploit.modules.creds.__init__ N/A N/A mock call routersploit.modules.creds.ftp_bruteforce N/A N/A mock call routersploit.modules.exploits.asmax.__init__ N/A N/A mock call routersploit.modules.exploits.asmax.asmax_exploit N/A N/A mock call routersploit.modules.exploits.asmax.asmax_multi N/A N/A N/A self assertEqual N/A mock_getmembers mock_calls N/A N/A N/A mock call 1 N/A inspect isclass N/A N/A mock call 2 N/A inspect isclass N/A N/A mock call 4 N/A inspect isclass N/A N/A mock call 5 N/A inspect isclass N/A N/A N/A self assertEqual N/A N/A self interpreter modules N/A exploits.asmax.asmax_exploit N/A N/A N/A self assertEqual N/A N/A self interpreter modules_with_errors N/A routersploit.modules.creds.ftp_bruteforce routersploit.modules.exploits.asmax.asmax_multi import_error import_error N/A N/A N/A mock patch os.walk N/A N/A mock patch importlib.import_module N/A N/A mock patch inspect.getmembers test_command_debug N/A N/A self mocked_print_error mocked_print_info N/A N/A N/A N/A N/A self interpreter modules_with_errors N/A foo.bar.exploit foo.baz.exploit doo.paa.exploit foo foo error foo baz error doo paa error N/A N/A N/A N/A self interpreter command_debug N/A N/A N/A self assertItemsEqual N/A mocked_print_info mock_calls N/A N/A N/A mock call foo.baz.exploit N/A N/A mock call foo.bar.exploit N/A N/A mock call doo.paa.exploit N/A N/A N/A self assertItemsEqual N/A mocked_print_error mock_calls N/A N/A N/A mock call doo paa error N/A N/A mock call foo foo error N/A N/A mock call foo baz error N/A N/A N/A mock patch routersploit.utils.print_info N/A N/A mock patch routersploit.utils.print_error test_command_exit N/A N/A self N/A N/A N/A N/A N/A self assertRaises KeyboardInterrupt N/A N/A N/A N/A N/A self interpreter command_exit N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main