How To Count The Number Of Hosts In NMAP Network Scan Results With Zenmap
Earlier today while working with a friend at our offices we were playing around with a large NMAP scan of the anoNet network. His computer would not open the network topology in Zenmap because of a lack of RAM so we were looking at it on another laptop with much more RAM. After discussing it for a little bit we were curious how many hosts had been discovered on anoNet but initially I didn’t see an easy way to get this information. Use the information below for a quick count of hosts in Zenmap discovered via a NMAP scan.
Count Number Of Hosts Located Via NMAP Scan With Zenmap GUI
- Open Zenmap: First open the Zenmap GUI. On Windows 7 you can accomplish this by typing zenmap in the Search Programs and Files field in your Windows 7 Start Menu and then typing enter which will launch the Zenmap GUI as shown in the below example image.
- Open NMAP Scan Results: Now click Scan in the top navigation menu and select Open Scan In This Window from the drop down menu as shown in the below image.
Browse to the location of the scan results file such as scan-results.xml and open the file which will provide a view similar to the below example window in Zenmap.
- Zenmap Filter Hosts: Select Tools from the top navigation menu and select Filter Hosts from the drop down menu as shown in the below example image.
Once Filter Hosts has been selected a new bar will show at the bottom of Zenmap as shown in the below example image.
At the beginning of this new bar it will show how many hosts are being displayed in the total number of hosts of the NMAP scan. In this example there were 2,693 hosts found on anoNet.
So it was extremely easy to display the total number of hosts in a NMAP scan via Zenmap but I wanted to note since there is no menu item that specifically states display the total number of hosts.