Impacket GetADComputers

Enumerate all Active Directory computer accounts

Tool
impacket-GetADComputers
Category
Enumeration / LDAP
Platform
linux
Requires
password
Protocols
LDAP

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

impacket-GetADComputers -dc-ip '<ip>' '<domain>/<user>:<password>'

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

impacket-GetADComputers -dc-ip '<ip>' -hashes ':<hash>' '<domain>/<user>'

Kerberos Ticket requires Kerberos ticket

impacket-GetADComputers -dc-ip '<ip>' -k -no-pass '<domain>/<user>'

Examples

impacket-GetADComputers -dc-ip '192.168.1.100' 'CORP.LOCAL/user:password'

Tags

impacket ldap computers enumeration ad