Active Directory Usernames
1) Ldapsearch
ldapsearch -x -H ldap://IP -b "DC=domain,DC=local" "(objectClass=person)" userPrincipalName | tee ldap-userEnum.txtcat ldap-userEnum.txt | grep user | awk '{print $2}' | sed '1d' | cut -d@ -f 1 > username.txtPreviousWordlist CreationNextOne liner command for creating IIS extensions to test against a server with burp intruder
Last updated