This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# linux ldapsearch parser for bofhound, useful for environments that have ldap signing/binding and require kerberos auth. | |
# add support for msDS-KeyCredentialLink | |
""" | |
$ ldapsearch -LLL -o ldif-wrap=no -E '!1.2.840.113556.1.4.801=::MAMCAQc=' -H ldap://dc.fake.com -Y GSSAPI -N -b "DC=fake,DC=com" "(&(objectClass=*))" > ldapsearch_out.txt | |
SASL/GSSAPI authentication started | |
SASL username: redacted@FAKE.COM | |
SASL SSF: 256 | |
SASL data security layer installed. |