Skip to content

Commit 5f9f66c

Browse files
committed
Fix nil bug in SSO gather module
1 parent a1a7471 commit 5f9f66c

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)