Class Msf::Sessions::CommandShell
In: lib/msf/base/sessions/command_shell.rb
Parent: Object

This class provides basic interaction with a command shell on the remote endpoint. This session is initialized with a stream that will be used as the pipe for reading and writing the command shell.

Methods

close_shell   desc   init_shell   read_shell   type   type   write_shell  

Included Modules

Msf::Session::Basic Msf::Session::Provider::SingleCommandShell

Public Class methods

Returns the type of session.

Public Instance methods

Closes the shell.

Returns the session description.

The shell will have been initialized by default.

Read from the command shell.

Calls the class method.

Writes to the command shell.

[Validate]