Find Domain Name

On Linux:

Simply read your resolv.conf:

cat /etc/resolv.conf

Or scan machines with CrackMapExec:

cme smb 192.168.12.0/24

On Windows

Simply use ipconfig:

ipconfig /all

Last updated