Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 916 Bytes

CheatSheet.md

File metadata and controls

24 lines (15 loc) · 916 Bytes

1. LDAP

1. LDAPSEARCH

Command: ldaspsearch -x -H ldap://10.10.10.107
alt text

Command: ldapsearch -x -H ldap://10.10.10.107 -s base 'namingcontexts' alt text

Command: ldapsearch -x -H ldap://10.10.10.107 -s sub -b 'dc=hackthebox,dc=htb'
alt text

2. NMAP

Command: locate -r nse& | grep -i ldap
alt text

Command: nmap --script ldap-search -p 389 10.10.10.107
alt text

Command: nmap --script ldap-rootdse -p 389 10.10.10.107
alt text