Skip to content

Commit 5684b9e

Browse files
committed
Readd dropped return during refactoring
1 parent d3b3946 commit 5684b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/local/setuid_nmap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def initialize(info={})
5353
def check
5454
if setuid?(datastore['Nmap'])
5555
vprint_good("#{datastore['Nmap']} is setuid")
56-
CheckCode::Vulnerable
56+
return CheckCode::Vulnerable
5757
end
5858
CheckCode::Safe
5959
end

0 commit comments

Comments
 (0)