← All Kali Commands
🏰 Active Directory
LDAPsearch
Find SPNs
LDAPsearch command for find SPNs. Copy the command below and use it in your terminal.
┌──(kali㉿kali)-[~]
└─$
└─$
ldapsearch -x -H ldap://DC -D "user@domain" -w pass -b "dc=domain,dc=local" "(servicePrincipalName=*)"
Tool
LDAPsearch
Category
Active Directory
Purpose
Find SPNs
🛡️ Usage Tips
- Always ensure you have proper authorization before using LDAPsearch against any target
- Replace
targetwith the actual IP address or hostname you are testing - Run this command from a Kali Linux terminal or any system with LDAPsearch installed
- Combine with other LDAPsearch commands for more comprehensive results
- Pipe output to a file with
> output.txtfor later analysis
🔗 More LDAPsearch Commands
🏰 Other Active Directory Tools
Found this useful? Share it.
Keep going
Make it count.
Join free to earn XP for what you read and solve, keep a streak, and track your progress.
Join free