Files
metasploit-gs/lib/msf/core/session/comm.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
648 B
Ruby
Raw Normal View History

# -*- coding: binary -*-
require 'rex/socket'
module Msf
module Session
###
#
# 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.
#
###
module Comm
include Rex::Socket::Comm
#
# Session-based comm classes implement an instance specific method for
2015-04-13 13:21:41 +05:00
# creating network-based connections rather than the typical class
# specific methods.
#
def create(param)
raise NotImplementedError
end
#
# Does the Comm support sending UDP messages?
#
def supports_udp?
raise NotImplementedError
end
end
end
2012-04-15 23:35:38 -05:00
end