Havoc uses a pretty outdated ldapsearch BOF, which for example has limited argument support. I ported the Situational Awareness agressor script to Havoc to support the latest version of the BOF.
Note: make sure to comment the original ldapsearch script in Havoc/client/Modules/SituationalAwareness/SituationalAwareness.py to avoid getting conflicts with this ldapsearch agressor script. Also, this repository does not contain the source code for the BOF. Compile it yourself :)
Object file must be placed in the same location as the agressor script, or change BOF_PATH in ldapsearch.py.