franc-pentest/ldeep

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

Opened this issue · 1 comments

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

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