class Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Priv::Passwd
The password database portion of the privilege escalation extension.
Constants
- Klass
Public Instance Methods
cmd_hashdump(*args)
click to toggle source
Displays the contents of the SAM database
# File lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb, line 38 def cmd_hashdump(*args) client.priv.sam_hashes.each { |user| print_line("#{user}") } return true end
commands()
click to toggle source
List of supported commands.
# File lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb, line 22 def commands { "hashdump" => "Dumps the contents of the SAM database" } end
name()
click to toggle source
Name for this dispatcher.
# File lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd.rb, line 31 def name "Priv: Password database" end