Skip to content

Commit e45347e

Browse files
committed
Explain why vulnerable
1 parent 423d524 commit e45347e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modules/exploits/osx/local/rootpipe_entitlements.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ def initialize(info = {})
5151
end
5252

5353
def check
54-
(ver? && admin?) ? Exploit::CheckCode::Vulnerable : Exploit::CheckCode::Safe
54+
if ver? && admin?
55+
vprint_status("Version is between 10.9 and 10.10.3, and is admin.")
56+
return Exploit::CheckCode::Vulnerable
57+
else
58+
return Exploit::CheckCode::Safe
59+
end
5560
end
5661

5762
def exploit

0 commit comments

Comments
 (0)