We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec7661 commit 0fca448Copy full SHA for 0fca448
lib/msf/core/handler/reverse_http.rb
@@ -380,7 +380,7 @@ def on_request(cli, req)
380
begin
381
# generate the stage, but pass in the existing UUID and connection id so that
382
# we don't get new ones generated.
383
- blob = self.stage_payload(
+ blob = self.generate_stage(
384
uuid: uuid,
385
uri: conn_id,
386
lhost: uri.host,
lib/msf/core/payload/stager.rb
@@ -138,8 +138,7 @@ def generate_stage(opts={})
138
if stage_assembly and !stage_assembly.empty?
139
raw = build(stage_assembly, stage_offsets)
140
else
141
- # Options get ignored by the stage_payload method
142
- raw = stage_payload
+ raw = stage_payload(opts)
143
end
144
145
# Substitute variables in the stage
0 commit comments