Force :init_connect for stageless

bug/bundler_fix
OJ 2015-06-27 18:21:15 +10:00
parent 10a6945737
commit 007da4af41
5 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -45,6 +45,7 @@ module Metasploit4
def generate_config(opts={})
opts[:uuid] ||= generate_payload_uuid
opts[:stageless] = true
# create the configuration block
config_opts = {

View File

@ -45,6 +45,7 @@ module Metasploit4
def generate_config(opts={})
opts[:uuid] ||= generate_payload_uuid
opts[:stageless] = true
# create the configuration block
config_opts = {

View File

@ -45,6 +45,7 @@ module Metasploit4
def generate_config(opts={})
opts[:uuid] ||= generate_payload_uuid
opts[:stageless] = true
# create the configuration block
config_opts = {

View File

@ -45,6 +45,7 @@ module Metasploit4
def generate_config(opts={})
opts[:uuid] ||= generate_payload_uuid
opts[:stageless] = true
# create the configuration block
config_opts = {