Pennyw0rth / NetExec

The Network Execution Tool
https://netexec.wiki/
BSD 2-Clause "Simplified" License
2.91k stars 310 forks source link

Fix maq module if MAQ not set #422

Closed NeffIsBack closed 1 week ago

NeffIsBack commented 1 week ago

If the ms-DS-MachineAccountQuota is not set in the domain policy the maq module throws an error while decoding the ldap result, see #421.

This is fixed now: image

Also fixed a string not being escaped properly, which got highlighted by python 3.12.