Land #3062, unused arg fix for vmware_mount

bug/bundler_fix
William Vu 2014-03-04 11:37:41 -06:00
commit e30238fe0d
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 1 additions and 1 deletions

View File

@ -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