Add return in check

bug/bundler_fix
Tyler Krpata 2013-09-05 16:57:47 -04:00
parent 368a78a963
commit 07060e4e69
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class Metasploit3 < Msf::Exploit::Local
if not user_in_admin_group?
print_error "sudo version is vulnerable, but user is not in the admin group (necessary to change the date)."
Exploit::CheckCode::Safe
return Exploit::CheckCode::Safe
end
# one root for you sir
Exploit::CheckCode::Vulnerable