NetExec Enum LDAP

UsernamePasswordLinuxEnumeration

“NetExec (a.k.a nxc) is a network service exploitation tool that helps automate assessing the security of large networks.” - https://www.netexec.wiki/. This command will enumerate domain groups, local groups, users, user descriptions, users trusted for delegation, users without a password, You can also use CIDR notation to target a range of ip addresses (i.e. 10.10.10.0/24).

Command Reference:

Target IP: 10.10.10.1

Username: john

Password: password123

Command

nxc ldap 10.10.10.1 -u 'john' -p 'password123' --trusted-for-delegation  --password-not-required --admin-count --users --groups

References