Fixes #5531bug/bundler_fix
commit
77f506c0c8
|
@ -138,7 +138,8 @@ module Msf::Payload::Stager
|
||||||
if stage_assembly and !stage_assembly.empty?
|
if stage_assembly and !stage_assembly.empty?
|
||||||
raw = build(stage_assembly, stage_offsets)
|
raw = build(stage_assembly, stage_offsets)
|
||||||
else
|
else
|
||||||
raw = stage_payload(opts).dup
|
# Options get ignored by the stage_payload method
|
||||||
|
raw = stage_payload
|
||||||
end
|
end
|
||||||
|
|
||||||
# Substitute variables in the stage
|
# Substitute variables in the stage
|
||||||
|
|
Loading…
Reference in New Issue