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, #load_config, #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, included, #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, #unknown_command, #update_prompt

Instance Method Details

#cmd_db_hashesObject



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

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

#cmd_db_tokensObject



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

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

#commandsObject



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

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

#nameObject



10
11
12
# File 'plugins/db_credcollect.rb', line 10

def name
  'credcollect'
end