Module Msf::Handler::FindPort
In: lib/msf/core/handler/find_port.rb

This handlers implements port-based findsock handling.

Methods

Included Modules

Msf::Handler

Public Class methods

Returns the connection oriented general handler type, in this case ‘find’.

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

Initializes the find port handler and adds the client port option that is required for port-based findsock payloads to function.

Public Instance methods

Check to see if there‘s a shell on the supplied sock. This check currently only works for shells.

Protected Instance methods

Checks to see if a shell has been allocated on the connection. This is only done for payloads that use the CommandShell session.

Prefix to the stage if necessary.

Sends the identifier if there is one.

Wrapper to create session that makes sure we actually have a session to create…

[Validate]