Module Msf::Handler::ReverseTcp
In: lib/msf/core/handler/reverse_tcp.rb

This module implements the reverse TCP handler. This means that it listens on a port waiting for a connection until either one is established or it is told to abort.

This handler depends on having a local host and port to listen on.

Methods

Included Modules

Msf::Handler

Public Class methods

Returns the connection-described general handler type, in this case ‘reverse’.

Returns the string representation of the handler type, in this case ‘reverse_tcp’.

Initializes the reverse TCP handler and ads the options that are required for all reverse TCP payloads, like local host and local port.

Public Instance methods

Closes the listener socket if one was created.

Starts the listener but does not actually attempt to accept a connection. Throws socket exceptions if it fails to start the listener.

Starts monitoring for an inbound connection.

Stops monitoring for an inbound connection.

[Validate]