# windapsearch

<pre><code>cd ~/windapsearch

<strong># This will return usernames through ldap query
</strong>./windapsearch.py --dc-ip 172.16.5.5 -u "" -U
</code></pre>

<pre data-overflow="wrap"><code><strong># This will return Domain Admins
</strong>python3 windapsearch.py --dc-ip 172.16.5.5 -u forend@inlanefreight.local -p Klmcargo2 --da
</code></pre>

<pre data-overflow="wrap"><code><strong># This will return Privileged Users
</strong>python3 windapsearch.py --dc-ip 172.16.5.5 -u forend@inlanefreight.local -p Klmcargo2 -PU
</code></pre>
