Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 638 Bytes

ldap-domain-dump.md

File metadata and controls

28 lines (22 loc) · 638 Bytes

Source

https://github.com/dirkjanm/ldapdomaindump

Basic usage

python3 ldapdomaindump -u <domain>\\<user> -p <password> <ipOfDomainController> -d "|"

Using LDAPS

python3 ldapdomaindump -u <domain>\\<user> -p <password> ldaps://<ipOfDomainController> -d "|" 

Operating system overview

grep -v ACCOUNT_DISABLE domain_computers.grep | cut -d \| -f4 | sort | uniq -c | sort -n

List valid account names

grep -v ACCOUNT_DISABLED domain_users.grep | cut -d \| -f3

Convert data to import into bloodhound

python3 ldapdomaindump/convert.py domain_users.json domain_groups.json