Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
LDAP-Password-Hunter — Automated tool that hunts for world-readable passwords in Active Directory LDAP databases by leveraging Kerberos authentication and ldapsearch to enumerate and store sensitive attributes in a SQLite database. | Kitploit
Tools/GitHubGitHub/oldboy21/ldap-password-hunter
Password AttacksInformation GatheringAuthenticationDatabase Security
GitHuboldboy21/ldap-password-hunter

LDAP-Password-Hunter

Automated tool that hunts for world-readable passwords in Active Directory LDAP databases by leveraging Kerberos authentication and ldapsearch to enumerate and store sensitive attributes in a SQLite database.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
199253 years agoReviewed by Kitploit

LDAP Password Hunter

It happens that due to legacy services requirements or just bad security practices password are world-readable in the LDAP database by any user who is able to authenticate.
LDAP Password Hunter is a tool which wraps features of getTGT.py (Impacket) and ldapsearch in order to look up for password stored in LDAP database. Impacket getTGT.py script is used in order to authenticate the domain account used for enumeration and save its TGT kerberos ticket. TGT ticket is then exported in KRB5CCNAME variable which is used by ldapsearch script to authenticate and obtain TGS kerberos tickets for each domain/DC LDAP-Password-Hunter is ran for. Basing on the CN=Schema,CN=Configuration export results a custom list of attributes is built and filtered in order to identify a big query which might contains interesting results. Results are shown and saved in a sqlite3 database. The DB is made of one table containing the following columns:

  • DistinguishedName
  • AttributeName
  • Value
  • Domain

Results are way more clean than the previous version and organized in the SQL DB. The output shows the entries found only if they are not in DB, so new entries pop up but the overall outcome of the analysis is still saved in a file with a timestamp.

Requirements

  • Ldapsearch
  • Impacket
  • Sqlite

Usage

Be sure your krb5.conf file is clean and the domains.txt and conf.txt are filled properly.

From the project folder:

root@kitploit:~
./run.sh

Easy-peasy :)

Credits

  • SecureAuthCorp: For the work on Impacket project
  • Alberto Solino (@agsolino): For the work on kerberoast modules based on the Impacket framework
  • Retrospected: For helping out every Friday with debugging the code and brainstorming on new features
Download Tool