Closed Techbrunch closed 1 year ago
Related to the comment I just made in #740, the winrm
protocol DB isn't used. You should be able to use the smb
or mssql
database with credentials though, since those are actually populated and have the associated functions with them such as get_credentials()
.
@mpgn this can probably be merged with #740 as a general "actually use the winrm
database."
@mpgn This can be marked fixed for sponsors. There was an issue when trying to list specific creds in the cmedb for winrm (e.g. creds 1
), but I fixed that in my current PR in commit 1ae3c82.
This specific functionality to use creds from the WinRM DB was fixed in my CMEDB overhaul though, which is live for sponsors.
Hello,
Thanks for the issue, it is now fixed on the last public release of CrackMapExec https://github.com/mpgn/CrackMapExec v6.0.0
Regards,
mpgn
Describe the bug
I'm trying to use a credential set from the database as described here: https://github.com/Porchetta-Industries/CrackMapExec/wiki/Using-Credentials but I get an error:
AttributeError: 'database' object has no attribute 'get_credentials'
To Reproduce
Expected behavior
CME will automatically pull that credential from the back-end database and use it to authenticate
Crackmapexec info