lefayjey / linWinPwn

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

fix: Get MachineAccountQuota #25

Closed Mag1cByt3s closed 4 months ago

Mag1cByt3s commented 4 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 4 months ago

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