Back out the Comm stuff for HTTP
parent
d51f0ebd4c
commit
46159f5dbe
|
@ -20,7 +20,6 @@ module ReverseHttp
|
||||||
include Msf::Handler
|
include Msf::Handler
|
||||||
include Rex::Payloads::Meterpreter::UriChecksum
|
include Rex::Payloads::Meterpreter::UriChecksum
|
||||||
include Msf::Payload::Windows::VerifySsl
|
include Msf::Payload::Windows::VerifySsl
|
||||||
include Msf::Handler::Reverse::Comm
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Returns the string representation of the handler type
|
# Returns the string representation of the handler type
|
||||||
|
@ -130,7 +129,6 @@ module ReverseHttp
|
||||||
#
|
#
|
||||||
def setup_handler
|
def setup_handler
|
||||||
|
|
||||||
comm = select_comm
|
|
||||||
local_port = bind_port
|
local_port = bind_port
|
||||||
|
|
||||||
# Start the HTTPS server service on this host/port
|
# Start the HTTPS server service on this host/port
|
||||||
|
@ -142,7 +140,7 @@ module ReverseHttp
|
||||||
'Msf' => framework,
|
'Msf' => framework,
|
||||||
'MsfExploit' => self,
|
'MsfExploit' => self,
|
||||||
},
|
},
|
||||||
comm,
|
nil,
|
||||||
(ssl?) ? datastore['HandlerSSLCert'] : nil
|
(ssl?) ? datastore['HandlerSSLCert'] : nil
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -158,9 +156,7 @@ module ReverseHttp
|
||||||
},
|
},
|
||||||
'VirtualDirectory' => true)
|
'VirtualDirectory' => true)
|
||||||
|
|
||||||
via = via_string_for_ip(ip, comm)
|
print_status("Started #{scheme.upcase} reverse handler on #{listener_uri}")
|
||||||
|
|
||||||
print_status("Started #{scheme.upcase} reverse handler on #{listener_uri} #{via}")
|
|
||||||
lookup_proxy_settings
|
lookup_proxy_settings
|
||||||
|
|
||||||
if datastore['IgnoreUnknownPayloads']
|
if datastore['IgnoreUnknownPayloads']
|
||||||
|
|
Loading…
Reference in New Issue