Skip to content
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

Armitage: Auxiliary aborted due to failure: bad-config: The PASSWORD option is required unless using Kerberos authentication. #18989

Open
alyaparan opened this issue Mar 22, 2024 · 1 comment
Labels
bug confirmed Issues confirmed by a committer

Comments

@alyaparan
Copy link

msf6 > use auxiliary/scanner/winrm/winrm_login
msf6 auxiliary(scanner/winrm/winrm_login) > set RHOSTS [IP]
RHOSTS => [IP]
msf6 auxiliary(scanner/winrm/winrm_login) > set REMOVE_USERPASS_FILE true
REMOVE_USERPASS_FILE => true
msf6 auxiliary(scanner/winrm/winrm_login) > set USER_AS_PASS false
USER_AS_PASS => false
msf6 auxiliary(scanner/winrm/winrm_login) > set BLANK_PASSWORDS false
BLANK_PASSWORDS => false
msf6 auxiliary(scanner/winrm/winrm_login) > set USERPASS_FILE /usr/share/armitage/userpass4440.txt
USERPASS_FILE => /usr/share/armitage/userpass4440.txt
msf6 auxiliary(scanner/winrm/winrm_login) > set RPORT 5985
RPORT => 5985
msf6 auxiliary(scanner/winrm/winrm_login) > set DB_ALL_CREDS false
DB_ALL_CREDS => false
msf6 auxiliary(scanner/winrm/winrm_login) > run -j
[*] Auxiliary module running as background job 57.
[-] Auxiliary aborted due to failure: bad-config: The PASSWORD option is required unless using Kerberos authentication.

@alyaparan alyaparan added the bug label Mar 22, 2024
@bcoles bcoles added the confirmed Issues confirmed by a committer label Mar 22, 2024
@bcoles
Copy link
Contributor

bcoles commented Mar 22, 2024

As workaround, you can set PASSWORD anything. Metasploit will still use the USERPASS_FILE file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed Issues confirmed by a committer
Projects
Status: No status
Development

No branches or pull requests

2 participants