Module: Msf::Payload::Adapter::Fetch::Server::HTTP

Includes:
Https
Included in:
HTTP
Defined in:
lib/msf/core/payload/adapter/fetch/server/http.rb

Instance Method Summary collapse

Instance Method Details

#fetch_protocolObject



20
21
22
# File 'lib/msf/core/payload/adapter/fetch/server/http.rb', line 20

def fetch_protocol
  'HTTP'
end

#initialize(*args) ⇒ Object

This mixin supports only HTTP fetch handlers but still imports the HTTPS mixin. We just remove the HTTPS Options so the user does not see them.



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/msf/core/payload/adapter/fetch/server/http.rb', line 8

def initialize(*args)
  super
  deregister_options('FETCH_SSL',
                     'FETCH_CHECK_CERT',
                     'FetchSSLCert',
                     'FetchSSLCompression',
                     'FetchSSLCipher',
                     'FetchSSLCipher',
                     'FetchSSLVersion'
  )
end