ldapx: inspect & transform all LDAP packets
ldapx
Flexible LDAP proxy that can be used to inspect & transform all LDAP packets generated by other tools on the fly.

Usage
[pastacode lang=”bash” manual=”%24%20ldapx%20-t%20LDAPSERVER%3A389%20%5B-f%20MIDDLEWARECHAIN%5D%20%5B-a%20MIDDLEWARECHAIN%5D%20%5B-b%20MIDDLEWARECHAIN%5D%20%5B-l%20LOCALADDR%3ALOCALPORT%5D%20%5B-o%20MIDDLEWAREOPTION%3DVALUE%5D%20%5B…%5D” message=”” highlight=”” provider=”manual”/]
Where:
-fwill apply Filter middlewares to all applicable requests-awill apply AttrList middlewares to all applicable requests-bwill apply BaseDN middlewares to all applicable requests-ewill apply AttrEntries middlewares to all applicable requests-ocan be specified multiple times and is used to specify options for the middlewares-Fspecifies the verbosity level for forward packets (requests)-Rspecifies the verbosity level for reverse packets (responses)-xcan be used to specify a SOCKS proxy to use for the connection to the target
If --ldaps / -s is specified, then the connection to the target will use LDAPS. This can come in handy if you must use a tool that doesn’t support LDAPS. Use --no-shell / -N if you don’t want to interact with the shell to modify the settings while the program is running.
Each middleware is specified by a single-letter key (detailed below), and can be specified multiple times. For each type of middleware, the middlewares in the chain will be applied in the order that they are specified in the command.
For more options check the --help.

Install & Tutorial
Support Our Threat Intelligence
If you find our technology report and cybersecurity news helpful, consider supporting our work.