-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: auxiliary/kerberos_enumusers stops after first match #12543
Conversation
For whoever reviews this PR: if this is a bug (likely), then the same code pattern should also be reviewed elsewhere.
For modules which use the
# This method safely get the workspace ID. It handles if the db is not active
#
# @return [NilClass] if there is no DB connection
# @return [Integer] the ID of the current Mdm::Workspace
def myworkspace_id
if framework.db.active
myworkspace.id
else
nil
end
end |
Thanks @bcoles - should I go ahead and modify the others as well? |
If you like, but only for modules which use the Also, If the use of
I'd prefer not to touch the libs unless this issue can be confirmed as a bug and tested to ensure no adverse effects. |
5ce731e
to
e3a61c8
Compare
e3a61c8
to
247546f
Compare
Yes, |
Release NotesThis fixes several modules to use |
kerberos_enumusers
stops after the first valid user:and it stops there.
Verification
List the steps needed to make sure this thing works
msfconsole
use gather/kerberos_enumusers
USER_FILE