Skip to content

Commit e911d60

Browse files
committed
Land rapid7#5967, nil bug fix in SSO gather module
2 parents abe65cd + 5f9f66c commit e911d60

File tree

1 file changed

+1
-1
lines changed
  • modules/post/windows/gather/credentials

1 file changed

+1
-1
lines changed

modules/post/windows/gather/credentials/sso.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def is_system_user?(user)
150150
/^LOCAL SYSTEM$/
151151
]
152152

153-
return system_users.find{|r| user.match(r)}
153+
system_users.find{|r| user.to_s.match(r)}
154154
end
155155

156156
end

0 commit comments

Comments
 (0)