Class: Msf::Plugin::CredCollect::CredCollectCommandDispatcher

Inherits:
Object
  • Object
show all
Includes:
Ui::Console::CommandDispatcher
Defined in:
plugins/db_credcollect.rb

Instance Attribute Summary

Attributes included from Ui::Console::CommandDispatcher

#driver

Attributes included from Rex::Ui::Text::DispatcherShell::CommandDispatcher

#shell, #tab_complete_items

Instance Method Summary collapse

Methods included from Ui::Console::CommandDispatcher

#active_module, #active_module=, #active_session, #active_session=, #build_range_array, #docs_dir, #framework, #initialize, #log_error, #remove_lines

Methods included from Rex::Ui::Text::DispatcherShell::CommandDispatcher

#cmd_help, #cmd_help_help, #cmd_help_tabs, #deprecated_cmd, #deprecated_commands, #deprecated_help, #docs_dir, #help_to_s, #initialize, #print, #print_error, #print_good, #print_line, #print_status, #print_warning, #tab_complete_directory, #tab_complete_filenames, #tab_complete_generic, #tab_complete_source_address, #update_prompt

Instance Method Details

#cmd_db_hashesObject


28
29
30
31
32
# File 'plugins/db_credcollect.rb', line 28

def cmd_db_hashes()
  print_error ""
  print_error "db_hashes is deprecated. Use 'creds -s smb' instead."
  print_error ""
end

#cmd_db_tokensObject


34
35
36
37
38
# File 'plugins/db_credcollect.rb', line 34

def cmd_db_tokens()
  print_error ""
  print_error "db_tokens is deprecated. Use 'notes -t smb_token' instead."
  print_error ""
end

#commandsObject


21
22
23
24
25
26
# File 'plugins/db_credcollect.rb', line 21

def commands
  {
    "db_hashes" => "Dumps hashes (deprecated: use 'creds -s smb')",
    "db_tokens" => "Dumps tokens (deprecated: use 'notes -t smb_token')"
  }
end

#nameObject


17
18
19
# File 'plugins/db_credcollect.rb', line 17

def name
  "credcollect"
end