Class: Msf::Ui::Console::CommandDispatcher::LocalFileSystem

Inherits:
Object
  • Object
show all
Includes:
LocalFileSystem, Rex::Ui::Text::DispatcherShell::CommandDispatcher
Defined in:
lib/msf/ui/console/command_dispatcher/local_file_system.rb

Overview

Generic file system commands

Instance Attribute Summary

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

#shell, #tab_complete_items

Instance Method Summary collapse

Methods included from LocalFileSystem

#cmd_lcat, #cmd_lcat_tabs, #cmd_lcd, #cmd_lcd_tabs, #cmd_lls, #cmd_lls_help, #cmd_lmkdir, #cmd_lpwd, #list_local_path, #local_fs_commands, #pretty_perms

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, #update_prompt

Instance Method Details

#commandsHash

List of supported commands.

Returns:

  • (Hash)


20
21
22
# File 'lib/msf/ui/console/command_dispatcher/local_file_system.rb', line 20

def commands
  local_fs_commands
end

#nameObject

Parameters:

  • (String)


25
26
27
# File 'lib/msf/ui/console/command_dispatcher/local_file_system.rb', line 25

def name
  'Local File System'
end

#unknown_command(cmd, line) ⇒ Object



29
30
31
32
33
# File 'lib/msf/ui/console/command_dispatcher/local_file_system.rb', line 29

def unknown_command(cmd, line)
  status = super

  status
end