LDAP 389,636

Assorted LDAP Commands

Basic LDAP Search for Naming Contexts:

ldapsearch -x -H ldap://10.10.10.10 -s base namingcontexts

Basic LDAP Search for Domain Data:

ldapsearch -h 10.11.1.111 -p 389 -x -b "dc=mywebsite,dc=com"

LDAP Search with Bind DN and Password:

ldapsearch -x -h 10.11.1.111 -D 'DOMAIN\user' -w 'hash-password'

Using ldapdomaindump for Domain Enumeration:

ldapdomaindump 10.11.1.111 -u 'DOMAIN\user' -p 'hash-password'

Brute-force LDAP Authentication with Patator:

Brute-force LDAP Login Using patator:

patator ldap_login host=10.10.1.111 1=/root/Downloads/passwords_ssh.txt user=hsmith password=FI

Last updated