trustedsec / CS-Situational-Awareness-BOF

Situational Awareness commands implemented using Beacon Object Files
GNU General Public License v2.0
1.26k stars 218 forks source link

Set the default scope of ldapsearch to subtree #119

Closed infoseceskimo closed 4 months ago

infoseceskimo commented 7 months ago

Set the default scope of ldapsearch to subtree as specified in documentation

https://github.com/trustedsec/CS-Situational-Awareness-BOF/blob/master/SA/SA.cna :155

freefirex commented 4 months ago

https://github.com/trustedsec/CS-Situational-Awareness-BOF/blob/2967208383dcedf36314693dd23fa8d2088d7dc4/SA/SA.cna#L180

when the option isn't specified the CNA side sets it to 3. Since it will be set on the CNA side as a default to 3, we don't need a switch case setting it = 3 on the C side