Land #3062, unused arg fix for vmware_mount
commit
e30238fe0d
|
@ -78,7 +78,7 @@ class Metasploit4 < Msf::Exploit::Local
|
|||
end
|
||||
|
||||
def setuid?(remote_file)
|
||||
!!(cmd_exec("test -u /usr/bin/vmware-mount && echo true").index "true")
|
||||
!!(cmd_exec("test -u #{remote_file.strip} && echo true").index "true")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue