franc-pentest / ldeep

In-depth ldap enumeration utility
MIT License
375 stars 44 forks source link

Implement a Console-Like Interactive Interface for LDAP Queries in ldeep #50

Open n3rada opened 2 months ago

n3rada commented 2 months ago

I propose adding an interactive shell feature to ldeep using the prompt_toolkit library. This feature aims to enable users to run LDAP queries in a more dynamic and flexible manner, similar to a traditional command-line interface.

The goal is to provide a semi-interactive shell where users can manually type LDAP queries and receive immediate feedback. This will enhance usability, especially for complex LDAP searches that benefit from iterative refinement. With some argument like -i:

ldeep ldap -u Administrator -p 'password' -d winlab.local -s ldap://10.0.0.1 -i

Once in the session, users can directly input LDAP queries such as:

(&(objectCategory=person)(objectClass=user))

To retrieve all users

BastienFaure commented 1 month ago

Feel free, the floor is yours. Submit a PR and we will look at it