Class: Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Extapi
- Inherits:
-
Object
- Object
- Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Extapi
- Defined in:
- lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi.rb
Overview
Extended API user interface.
Defined Under Namespace
Classes: Adsi, Clipboard, Service, Window, Wmi
Constant Summary collapse
- Klass =
Console::CommandDispatcher::Extapi
- Dispatchers =
[ Klass::Window, Klass::Service, Klass::Clipboard, Klass::Adsi, Klass::Wmi ]
Instance Attribute Summary
Attributes included from Ui::Text::DispatcherShell::CommandDispatcher
Class Method Summary collapse
Instance Method Summary collapse
-
#commands ⇒ Object
List of supported commands.
-
#initialize(shell) ⇒ Extapi
constructor
Initializes an instance of the extended API command interaction.
-
#name ⇒ Object
Name for this dispatcher.
Methods included from Rex::Post::Meterpreter::Ui::Console::CommandDispatcher
check_hash, #client, #docs_dir, #filter_commands, #log_error, #msf_loaded?, set_hash, #unknown_command
Methods included from Ui::Text::DispatcherShell::CommandDispatcher
#cmd_help, #cmd_help_help, #cmd_help_tabs, #deprecated_cmd, #deprecated_commands, #deprecated_help, #docs_dir, #help_to_s, included, #print, #print_error, #print_good, #print_line, #print_status, #print_warning, #tab_complete_directory, #tab_complete_filenames, #tab_complete_generic, #tab_complete_source_address, #unknown_command, #update_prompt
Constructor Details
#initialize(shell) ⇒ Extapi
Initializes an instance of the extended API command interaction.
42 43 44 45 46 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi.rb', line 42 def initialize(shell) super Dispatchers.each { |d| shell.enstack_dispatcher(d) } end |
Class Method Details
.has_command?(name) ⇒ Boolean
35 36 37 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi.rb', line 35 def self.has_command?(name) Dispatchers.any? { |klass| klass.has_command?(name) } end |
Instance Method Details
#commands ⇒ Object
List of supported commands.
52 53 54 55 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi.rb', line 52 def commands { } end |
#name ⇒ Object
Name for this dispatcher
60 61 62 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi.rb', line 60 def name 'Extended API Extension' end |