Class Msf::Ui::Console::CommandDispatcher::Core
In: lib/msf/ui/console/command_dispatcher/core.rb
Parent: Object

Command dispatcher for core framework commands, such as module loading, session interaction, and other general things.

Methods

Included Modules

Msf::Ui::Console::CommandDispatcher

Constants

DefangedProhibitedDataStoreElements = [ "ModulePaths" ]   The list of data store elements that cannot be set when in defanged mode.

Public Class methods

Initializes the datastore cache

Public Instance methods

cmd_?(*args)

Alias for cmd_help

Pop the current dispatcher stack context, assuming it isn‘t pointed at the core stack context.

Display one of the fabulous banners.

Change the current working directory

Instructs the driver to stop executing.

Displays the command help banner.

Displays information about one or more module.

Tab completion for the info command (same as use)

Goes into IRB scripting mode

Displays and manages running jobs for the active instance of the framework.

Tab completion for the jobs command

Loads a plugin from the supplied path. If no absolute path is supplied, the framework root plugin directory is used.

Tab completion for the load command

Adds one or more search paths.

This method persists or restores framework state from a persistent storage medium, such as a flatfile.

Tab completion for the persist command

cmd_quit(*args)

Alias for cmd_exit

This method handles the route command which allows a user to specify which session a given subnet should route through.

Tab completion for the route command

Saves the active datastore contents to disk for automatic use across restarts of the console.

Searches modules (name and description) for specified regex

Provides an interface to the sessions currently active in the framework.

Tab completion for the route command

Sets a name to a value in a context aware environment.

Tab completion for the set command

Sets the supplied variables in the global datastore.

Tab completion for the setg command

Displays the list of modules based on their type, or all modules if no type is provided.

Tab completion for the show command

Causes process to pause for the specified number of seconds

Unloads a plugin by its name.

Tab completion for the unload command

Unsets a value if it‘s been set.

Tab completion for the unset command

Unsets variables in the global data store.

Tab completion for the unsetg command

Uses a module.

Tab completion for the use command

Returns the revision of the console library

Returns the list of commands supported by this command dispatcher

Returns the name of the command dispatcher.

Provide valid action options for the current auxiliary module

Provide possible option values based on type

Provide valid encoders options for the current exploit or payload

Provide valid nops options for the current exploit

Provide valid payload options for the current exploit

Provide the target addresses

Provide the target ports

Provide valid target options for the current exploit

Provide command-specific tab completion

Provide tab completion for option values

[Validate]