CrackMapExec icon indicating copy to clipboard operation
CrackMapExec copied to clipboard

whoami LDAP module

Open spyr0-sec opened this issue 3 years ago • 0 comments

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

image

spyr0-sec avatar Aug 08 '22 15:08 spyr0-sec

All good for you @spyr0-sec (I made some change) ?

mpgn avatar Sep 08 '22 19:09 mpgn

Thanks @mpgn for the refactor!

spyr0-sec avatar Sep 09 '22 14:09 spyr0-sec