Class Msf::Sessions::Meterpreter
In: lib/msf/base/sessions/meterpreter.rb
Parent: Rex::Post::Meterpreter::Client

This class represents a session compatible interface to a meterpreter server instance running on a remote machine. It provides the means of interacting with the server instance both at an API level as well as at a console level.

Methods

_interact   cleanup   create   desc   execute_script   init_ui   load_stdapi   new   queue_cmd   reset_ui   run_cmd   type   type  

Included Modules

Msf::Session Msf::Session::Interactive Msf::Session::Comm

Constants

ScriptBase = Msf::Config.script_directory + Msf::Config::FileSep + "meterpreter"
UserScriptBase = Msf::Config.user_script_directory + Msf::Config::FileSep + "meterpreter"

Public Class methods

Initializes a meterpreter session instance using the supplied rstream that is to be used as the client‘s connection to the server.

Returns the session type as being ‘meterpreter’.

Public Instance methods

Interacts with the meterpreter client at a user interface level.

Cleans up the meterpreter client session.

Creates a connection based on the supplied parameters and returns it to the caller. The connection is created relative to the remote machine on which the meterpreter server instance is running.

Returns the session description.

Executes the supplie script.

Initializes the console‘s I/O handles.

Load the stdapi extension.

Run the supplied command as if it came from suer input.

Resets the console‘s I/O handles.

Explicitly runs a command.

Calls the class method.

[Validate]