-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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 Gitlab login scanner ignoring user and pass (#18831) #19381
Fix Gitlab login scanner ignoring user and pass (#18831) #19381
Conversation
Thanks for the fix, the documentation file and for running rubocop @Takahiro-Yoko! Everything looks great 👍 Before
After
|
Release NotesThis fixes the gitlab_login scanner so that it uses the proper datastore options Username and Password which are the standard for login scanners. Before this fix the scanner was using HttpUsername and HttpPassword and ignoring the datastore options Username and Password |
fixes #18831
(and rubocop formatting and add doc)
Before
HttpUsername, USERNAME, HttpPassword and PASSWORD options exist.
HttpUsername and HttpPassword are used.
USERNAME and PASSWORD are not used.
After
Remove HttpUsername and HttpPassword.
Use USERNAME and PASSWORD instead.
Verification
msfconsole
use auxiliary/scanner/http/gitlab_login
set rhosts
username
andpassword
options, or pass a list viauser_file
andpass_file
optionsrun
Result