Land #10023, fix ms17-010 psexec similar to 4a56ecf3ae
commit
40ccebc9bf
|
@ -130,7 +130,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
when 'PowerShell'
|
when 'PowerShell'
|
||||||
execute_powershell_payload
|
execute_powershell_payload
|
||||||
when 'Native upload'
|
when 'Native upload'
|
||||||
native_upload
|
native_upload(datastore['SHARE'])
|
||||||
when 'MOF upload'
|
when 'MOF upload'
|
||||||
mof_upload(datastore['SHARE'])
|
mof_upload(datastore['SHARE'])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue