Class: Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Priv
- Inherits:
-
Object
- Object
- Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Priv
- Defined in:
- lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
Overview
Privilege escalation extension user interface.
Defined Under Namespace
Classes: Elevate, Passwd, Timestomp
Constant Summary collapse
- Klass =
Console::CommandDispatcher::Priv
- Dispatchers =
[ Klass::Elevate, Klass::Passwd, Klass::Timestomp, ]
Instance Attribute Summary
Attributes included from Ui::Text::DispatcherShell::CommandDispatcher
Instance Method Summary collapse
-
#commands ⇒ Object
List of supported commands.
-
#initialize(shell) ⇒ Priv
constructor
Initializes an instance of the priv command interaction.
-
#name ⇒ Object
Name for this dispatcher.
Methods included from Rex::Post::Meterpreter::Ui::Console::CommandDispatcher
check_hash, #client, #log_error, #msf_loaded?, set_hash
Methods included from Ui::Text::DispatcherShell::CommandDispatcher
#cmd_help, #cmd_help_help, #cmd_help_tabs, #deprecated_cmd, #deprecated_commands, #deprecated_help, #help_to_s, #print, #print_error, #print_good, #print_line, #print_status, #print_warning, #tab_complete_filenames, #update_prompt
Constructor Details
#initialize(shell) ⇒ Priv
Initializes an instance of the priv command interaction.
34 35 36 37 38 39 40 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb', line 34 def initialize(shell) super Dispatchers.each { |d| shell.enstack_dispatcher(d) } end |
Instance Method Details
#commands ⇒ Object
List of supported commands.
45 46 47 48 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb', line 45 def commands { } end |
#name ⇒ Object
Name for this dispatcher
53 54 55 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb', line 53 def name "Privilege Escalation" end |