diff --git a/lib/msf/core/payload/stager.rb b/lib/msf/core/payload/stager.rb index 4b33c00898..574e3ef6ae 100644 --- a/lib/msf/core/payload/stager.rb +++ b/lib/msf/core/payload/stager.rb @@ -138,7 +138,8 @@ module Msf::Payload::Stager if stage_assembly and !stage_assembly.empty? raw = build(stage_assembly, stage_offsets) else - raw = stage_payload(opts).dup + # Options get ignored by the stage_payload method + raw = stage_payload end # Substitute variables in the stage