class Metasploit::Aggregator::Service
Public Instance Methods
add_cable(type, host, port, certificate = nil)
click to toggle source
start a listening port maintained on the service connections are forwarded to any registered default TODO: may want to require a type here for future proof of api
# File lib/metasploit/aggregator.rb, line 59 def add_cable(type, host, port, certificate = nil) # index for impl end
available?()
click to toggle source
return availability status of the service
# File lib/metasploit/aggregator.rb, line 21 def available? # index for impl end
available_addresses()
click to toggle source
returns list of IP addressed available to the service TODO: consider also reporting “used” ports (may not be needed)
# File lib/metasploit/aggregator.rb, line 77 def available_addresses # index for impl end
cables()
click to toggle source
# File lib/metasploit/aggregator.rb, line 35 def cables # index for impl end
default()
click to toggle source
# File lib/metasploit/aggregator.rb, line 71 def default # index for impl end
obtain_session(payload, uuid)
click to toggle source
sets forwarding for a specific session to promote that session for local use, obtained sessions are not reported in getSessions
# File lib/metasploit/aggregator.rb, line 42 def obtain_session(payload, uuid) # index for impl end
register_default(uuid, payload_list)
click to toggle source
# File lib/metasploit/aggregator.rb, line 67 def register_default(uuid, payload_list) # index for impl end
register_response_channel(requester)
click to toggle source
register the object to pass request from cables to
# File lib/metasploit/aggregator.rb, line 82 def register_response_channel(requester) end
release_session(payload)
click to toggle source
parks a session and makes it available in the getSessions
# File lib/metasploit/aggregator.rb, line 47 def release_session(payload) # index for impl end
remove_cable(host, port)
click to toggle source
# File lib/metasploit/aggregator.rb, line 63 def remove_cable(host, port) # index for impl end
session_details(payload)
click to toggle source
return any extended details for the payload requested
# File lib/metasploit/aggregator.rb, line 52 def session_details(payload) end
sessions()
click to toggle source
returns map of sessions available from the service
# File lib/metasploit/aggregator.rb, line 31 def sessions # index for impl end
version()
click to toggle source
return the current service version found
# File lib/metasploit/aggregator.rb, line 26 def version Metasploit::Aggregator::VERSION end