killchain-compendium/enumeration/docs/ldap.md

16 lines
278 B
Markdown
Raw Normal View History

2022-03-10 01:31:54 +01:00
# LDAP
## Get Domain
```sh
ldapsearch -x -h $TARGET_IP -s base namingcontexts
```
## Domain Dump
* If a set of credentials are known via
```sh
ldapdomaindump $TARGET_IP -u '<domain>\<user>' -p '<password>' --no-json --no-grep
```
* Take a look at the genreated HTML files