Enumerating Domains with Net View

The net view command is a great example of a built-in enumeration tool.
Net view is an extraordinarily simple command-line utility that will list domains available on the network and then lay bare all machines in a domain. Here’s how to enumerate domains
on the network using net view:
C:\>net view /domain
DomainThe net view command is a great example of a built-in enumeration tool.
Net view is an extraordinarily simple command-line utility that will list domains available on the network and then lay bare all machines in a domain.
Here’s how to enumerate domains on the network using net view:
C:\>net view /domain
Domain
-----------------------------------------------------------------------
CORLEONE
BARZINI_DOMAIN
TATAGGLIA_DOMAIN
BRAZZI
The command completed successfully.
Supplying an argument to the /domain switch will list computers in a particular domain, as shown next:
C:\>net view /domain:corleone
For the command-line challenged, the Network Neighborhood shows essentially the same information shown in these commands.
However, because of the sluggishness of updates to the browse list, we think the command-line tools are snappier and more reliable.

Comments

Popular Posts