Force :init_connect for stageless
parent
10a6945737
commit
007da4af41
|
@ -48,7 +48,8 @@ module Msf::Payload::TransportConfig
|
|||
# going up as part of the stage.
|
||||
uri = opts[:uri]
|
||||
unless uri
|
||||
sum = uri_checksum_lookup(:connect)
|
||||
type = opts[:stageless] == true ? :init_connect : :connect
|
||||
sum = uri_checksum_lookup(type)
|
||||
uri = generate_uri_uuid(sum, opts[:uuid])
|
||||
end
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ module Metasploit4
|
|||
|
||||
def generate_config(opts={})
|
||||
opts[:uuid] ||= generate_payload_uuid
|
||||
opts[:stageless] = true
|
||||
|
||||
# create the configuration block
|
||||
config_opts = {
|
||||
|
|
|
@ -45,6 +45,7 @@ module Metasploit4
|
|||
|
||||
def generate_config(opts={})
|
||||
opts[:uuid] ||= generate_payload_uuid
|
||||
opts[:stageless] = true
|
||||
|
||||
# create the configuration block
|
||||
config_opts = {
|
||||
|
|
|
@ -45,6 +45,7 @@ module Metasploit4
|
|||
|
||||
def generate_config(opts={})
|
||||
opts[:uuid] ||= generate_payload_uuid
|
||||
opts[:stageless] = true
|
||||
|
||||
# create the configuration block
|
||||
config_opts = {
|
||||
|
|
|
@ -45,6 +45,7 @@ module Metasploit4
|
|||
|
||||
def generate_config(opts={})
|
||||
opts[:uuid] ||= generate_payload_uuid
|
||||
opts[:stageless] = true
|
||||
|
||||
# create the configuration block
|
||||
config_opts = {
|
||||
|
|
Loading…
Reference in New Issue