Module: Msf::Payload::Java::ReverseHttps

Includes:
ReverseHttp
Defined in:
lib/msf/core/payload/java/reverse_https.rb

Overview

Complex payload generation for Java that speaks HTTPS

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

Instance Method Summary collapse

Methods included from ReverseHttp

#generate_uri, #initialize, #stager_config, #wfs_delay

Methods included from PayloadOptions

#initialize, #stager_config

Methods included from UUID::Options

#generate_payload_uuid, #generate_uri_uuid_mode, #initialize, #record_payload_uuid, #record_payload_uuid_url

Methods included from Rex::Payloads::Meterpreter::UriChecksum

#generate_uri_checksum, #generate_uri_uuid, #process_uri_resource, #uri_checksum_lookup

Methods included from Msf::Payload::Java

#generate, #generate_axis2, #generate_default_stage, #generate_jar, #generate_stage, #generate_war, #stage_class_files

Methods included from TransportConfig

#transport_config_bind_named_pipe, #transport_config_bind_tcp, #transport_config_reverse_http, #transport_config_reverse_https, #transport_config_reverse_ipv6_tcp, #transport_config_reverse_named_pipe, #transport_config_reverse_tcp, #transport_config_reverse_udp, #transport_uri_components

Methods included from Pingback::Options

#initialize

Instance Method Details

#class_filesObject

Override class_files to include the trust manager


35
36
37
38
39
# File 'lib/msf/core/payload/java/reverse_https.rb', line 35

def class_files
  [
    ["metasploit", "PayloadTrustManager.class"]
  ]
end

#schemeObject

Override the scheme so that it has https instead of http


28
29
30
# File 'lib/msf/core/payload/java/reverse_https.rb', line 28

def scheme
  'https'
end

#transport_config(opts = {}) ⇒ Object

Generate the transport-specific configuration


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

def transport_config(opts={})
  transport_config_reverse_https(opts)
end