Skip to content

Commit 60bdc10

Browse files
committed
Update setuid_tunnelblick
* Use cmd_exec
1 parent 6a00ce6 commit 60bdc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/osx/local/setuid_tunnelblick.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def check
6161
return CheckCode::Safe
6262
end
6363

64-
check = session.shell_command_token("find #{datastore["Tunnelblick"]} -type f -user root -perm -4000")
64+
check = cmd_exec("find #{datastore["Tunnelblick"]} -type f -user root -perm -4000")
6565

6666
if check =~ /openvpnstart/
6767
return CheckCode::Vulnerable

0 commit comments

Comments
 (0)