getadusers.py
Retrieve a list of users from Active Directory, including attributes like last logon timestamp and email. tldr-pages
On several platforms
Several platforms
Retrieve a list of users from Active Directory, including attributes like last logon timestamp and email. Part of the Impacket suite.
Enumerate all Active Directory users and their attributes
GetADUsers.py -all -dc-ip domain_controller_ip domain/username:passwordIdentifyRetrieve information only for a specific user
GetADUsers.py -user user -dc-ip domain_controller_ip domain/username:passwordIdentifyExtract user details using pass-the-hash authentication
GetADUsers.py -all -dc-ip domain_controller_ip -hashes LM_Hash:NT_Hash domain/usernameIdentifySave output to a file
GetADUsers.py -all -dc-ip domain_controller_ip domain/username:password >path/to/output.txtIdentify