CrackMapExec
CrackMapExec copied to clipboard
whoami LDAP module
Simple 'whoami' type module for LDAP, handy for when you compromise a user and want information regarding the account quickly. The module performs a search for the sAMAccountName via a LDAP query and outputs the following:
Domain\Username Distinguished name Human readable name Description Password last set Each group the user is a member of
Command to run: poetry run crackmapexec ldap <IP> -u <USER> -p <PASS> -M whoami

All good for you @spyr0-sec (I made some change) ?
Thanks @mpgn for the refactor!