Fix #5531, the ```stage_payload``` method does not take arguments.

bug/bundler_fix
HD Moore 2015-06-13 18:26:56 -05:00
parent 8f4a44ac97
commit ab6f3a7373
1 changed files with 2 additions and 1 deletions

View File

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