LDAP Anonymous Bind

LDAP Anonymous Bind

Tool
ldapsearch
Category
Enumeration / LDAP
Platform
linux
Requires
no credentials
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.

ldapsearch -x -H ldap://<ip> -D '<domain>' -b '<DC DN>' '(objectclass=*)' description sAMAccountName

Examples

ldapsearch -x -H ldap://192.168.139.122 -D 'hutch.offsec' -b 'dc=hutch,dc=offsec' '(objectclass=*)' description sAMAccountName

Tags

ldapsearch ldap anonymous enumeration