Module: Msf::Handler::ReverseHttpsProxy
- Includes:
- ReverseHttp
- Defined in:
- lib/msf/core/handler/reverse_https_proxy.rb
Overview
This handler implements the HTTP SSL tunneling interface.
Constant Summary
Constants included from Rex::Payloads::Meterpreter::UriChecksum
Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_CONN, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_CONN_MAX_LEN, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_INITJ, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_INITN, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_INITP, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_INITW, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_INIT_CONN, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_MIN_LEN, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_MODES, Rex::Payloads::Meterpreter::UriChecksum::URI_CHECKSUM_UUID_MIN_LEN
Constants included from Msf::Handler
Instance Attribute Summary
Attributes included from ReverseHttp
Attributes included from Msf::Handler
#exploit_config, #parent_payload, #pending_connections, #session_waiter_event, #sessions
Class Method Summary collapse
-
.general_handler_type ⇒ Object
Returns the connection-described general handler type, in this case ‘tunnel’.
-
.handler_type ⇒ Object
Returns the string representation of the handler type.
Instance Method Summary collapse
-
#initialize(info = {}) ⇒ Object
Initializes the HTTP SSL tunneling handler.
Methods included from ReverseHttp
#comm_string, #listener_uri, #lookup_proxy_settings, #luri, #on_request, #payload_uri, #print_prefix, #scheme, #setup_handler, #ssl?, #stop_handler
Methods included from Payload::Windows::VerifySsl
Methods included from Rex::Payloads::Meterpreter::UriChecksum
#generate_uri_checksum, #generate_uri_uuid, #process_uri_resource, #uri_checksum_lookup
Methods included from Msf::Handler::Reverse::Comm
Methods included from Reverse
#bind_addresses, #bind_port, #is_loopback_address?, #setup_handler
Methods included from Msf::Handler
#add_handler, #cleanup_handler, #create_session, #handle_connection, #handler, #handler_name, #interrupt_wait_for_session, #register_session, #setup_handler, #start_handler, #stop_handler, #wait_for_session, #wfs_delay
Class Method Details
.general_handler_type ⇒ Object
Returns the connection-described general handler type, in this case ‘tunnel’.
28 29 30 |
# File 'lib/msf/core/handler/reverse_https_proxy.rb', line 28 def self.general_handler_type "tunnel" end |
.handler_type ⇒ Object
Returns the string representation of the handler type
20 21 22 |
# File 'lib/msf/core/handler/reverse_https_proxy.rb', line 20 def self.handler_type return "reverse_https_proxy" end |
Instance Method Details
#initialize(info = {}) ⇒ Object
Initializes the HTTP SSL tunneling handler.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/msf/core/handler/reverse_https_proxy.rb', line 35 def initialize(info = {}) super ( [ OptAddressLocal.new('LHOST', "The local listener hostname", default: "127.0.0.1"), OptPort.new('LPORT', "The local listener port", default: 8443) ] + Msf::Opt::, Msf::Handler::ReverseHttpsProxy) ( [ OptAddress.new('ReverseListenerBindAddress', [ false, 'The specific IP address to bind to on the local system']), OptInt.new('ReverseListenerBindPort', [ false, 'The port to bind to on the local system if different from LPORT' ]) ], Msf::Handler::ReverseHttpsProxy) end |