Module: Msf::Handler::ReverseHttps

Includes:
ReverseHttp
Included in:
ReverseIPv6Https
Defined in:
lib/msf/core/handler/reverse_https.rb

Overview

This handler implements the HTTP SSL tunneling interface.

Constant Summary

Constants included from Msf::Handler::ReverseHttp::UriChecksum

Msf::Handler::ReverseHttp::UriChecksum::URI_CHECKSUM_CONN, Msf::Handler::ReverseHttp::UriChecksum::URI_CHECKSUM_INITJ, Msf::Handler::ReverseHttp::UriChecksum::URI_CHECKSUM_INITW, Msf::Handler::ReverseHttp::UriChecksum::URI_CHECKSUM_PRECALC

Constants included from Msf::Handler

Claimed, Unused

Instance Attribute Summary

Attributes included from ReverseHttp

#service

Attributes included from Msf::Handler

#exploit_config, #parent_payload

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ReverseHttp

#cleanup_handler, #full_uri, #ipv6, #setup_handler, #ssl?, #start_handler, #stop_handler

Methods included from Msf::Handler::ReverseHttp::UriChecksum

#generate_uri_checksum, #process_uri_resource

Methods included from Msf::Handler

#add_handler, #cleanup_handler, #handle_connection, #handler, #handler_name, #setup_handler, #start_handler, #stop_handler, #wait_for_session, #wfs_delay

Class Method Details

.general_handler_typeObject

Returns the connection-described general handler type, in this case 'tunnel'.


29
30
31
# File 'lib/msf/core/handler/reverse_https.rb', line 29

def self.general_handler_type
  "tunnel"
end

.handler_typeObject

Returns the string representation of the handler type


21
22
23
# File 'lib/msf/core/handler/reverse_https.rb', line 21

def self.handler_type
  return "reverse_https"
end

Instance Method Details

#initialize(info = {}) ⇒ Object

Initializes the HTTP SSL tunneling handler.


36
37
38
39
40
41
42
43
44
# File 'lib/msf/core/handler/reverse_https.rb', line 36

def initialize(info = {})
  super

  register_options(
    [
      OptPort.new('LPORT', [ true, "The local listener port", 8443 ])
    ], Msf::Handler::ReverseHttps)

end