Linux command
ldapdomaindump 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
ldapdomaindump -u domain\username -p password [hostname]
Example
ldapdomaindump -r -u domain\username -p password [hostname]
Example
ldapdomaindump -r -n [dns_ip] -u domain\username -p password [hostname]
Example
ldapdomaindump --no-json -o [path/to/dir] -u domain\username -p password [hostname]
说明
ldapdomaindump extracts Active Directory information via LDAP, including users, computers, groups, operating systems, and group memberships. Output is generated in HTML, JSON, and greppable formats for analysis.
参数
- -u, --user DOMAIN\USER
- Domain username for LDAP authentication
- -p, --password PASSWORD
- Password or NTLM hash for authentication
- -r, --resolve
- Resolve computer hostnames via DNS
- -n, --dns-server IP
- DNS server for hostname resolution
- -o, --outdir PATH
- Output directory for dump files
- --no-json
- Skip JSON output generation
- --no-html
- Skip HTML output generation
- --no-grep
- Skip greppable output generation
FAQ
What is the ldapdomaindump command used for?
ldapdomaindump extracts Active Directory information via LDAP, including users, computers, groups, operating systems, and group memberships. Output is generated in HTML, JSON, and greppable formats for analysis.
How do I run a basic ldapdomaindump example?
Run `ldapdomaindump -u domain\username -p password [hostname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u, --user DOMAIN\USER do in ldapdomaindump?
Domain username for LDAP authentication