lefayjey / linWinPwn

linWinPwn is a bash script that streamlines the use of a number of Active Directory tools
MIT License
1.83k stars 266 forks source link

fix: Get MachineAccountQuota #25

Closed Mag1cByt3s closed 7 months ago

Mag1cByt3s commented 7 months ago

change line

run_command "${netexec} ${ne_verbose} ldap ${target} ${argument_ne} ${ldaps_param} -M MAQ --kdcHost ${dc_FQDN} --log ${output_dir}/DomainRecon/ne_MachineAccountQuota_output_${dc_domain}.txt" 2>&1

to

run_command "${netexec} ${ne_verbose} ldap ${target} ${argument_ne} ${ldaps_param} -M maq --kdcHost ${dc_FQDN} --log ${output_dir}/DomainRecon/ne_MachineAccountQuota_output_${dc_domain}.txt" 2>&1

in order to fix Get MachineAccountQuota

lefayjey commented 7 months ago

Thanks! The change was made in netexec through this pull request: https://github.com/Pennyw0rth/NetExec/commit/3937f46fd60dbf3fba1637e861a798e59460d1ae