We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60bdc10 commit d98d2ffCopy full SHA for d98d2ff
modules/exploits/osx/local/setuid_viscosity.rb
@@ -61,7 +61,7 @@ def check
61
return CheckCode::Safe
62
end
63
64
- check = session.shell_command_token("find #{datastore["Viscosity"]} -type f -user root -perm -4000")
+ check = cmd_exec("find #{datastore["Viscosity"]} -type f -user root -perm -4000")
65
66
if check =~ /ViscosityHelper/
67
return CheckCode::Vulnerable
0 commit comments