diff --git a/modules/exploits/windows/smb/ms17_010_psexec.rb b/modules/exploits/windows/smb/ms17_010_psexec.rb index 1ab272badc..2fd7decbcc 100644 --- a/modules/exploits/windows/smb/ms17_010_psexec.rb +++ b/modules/exploits/windows/smb/ms17_010_psexec.rb @@ -130,7 +130,7 @@ class MetasploitModule < Msf::Exploit::Remote when 'PowerShell' execute_powershell_payload when 'Native upload' - native_upload + native_upload(datastore['SHARE']) when 'MOF upload' mof_upload(datastore['SHARE']) end