Module: Msf::Sessions::SshCommandShellBind::TcpClientChannel::SocketInterface

Includes:
Rex::Post::Channel::SocketAbstraction::SocketInterface
Defined in:
lib/msf/base/sessions/ssh_command_shell_bind.rb

Overview

This is a common interface that socket paris are extended with to be compatible with pivoting.

Instance Attribute Summary

Attributes included from Rex::Post::Channel::SocketAbstraction::SocketInterface

#channel

Instance Method Summary collapse

Methods included from Rex::Post::Channel::SocketAbstraction::SocketInterface

#close, #getpeername, #getsockname

Instance Method Details

#type?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/msf/base/sessions/ssh_command_shell_bind.rb', line 40

def type?
  'tcp'
end