Module: Msf::Session::Comm

Includes:
Rex::Socket::Comm
Included in:
Msf::Sessions::Meterpreter, Msf::Sessions::SshCommandShellBind, Rex::Proto::DNS::CustomNameserverProvider::CommSink
Defined in:
lib/msf/core/session/comm.rb

Overview

This class implements the Rex::Socket::Comm module interface and is capable of creating network-based connections that are pivoted from the session in question.

Instance Method Summary collapse

Instance Method Details

#create(param) ⇒ Object

Session-based comm classes implement an instance specific method for creating network-based connections rather than the typical class specific methods.

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/msf/core/session/comm.rb', line 22

def create(param)
  raise NotImplementedError
end

#supports_udp?Boolean

Does the Comm support sending UDP messages?

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


29
30
31
# File 'lib/msf/core/session/comm.rb', line 29

def supports_udp?
  raise NotImplementedError
end