O'Reilly logo

Kali Linux Cookbook - Second Edition by Bob Perciaccante, Corey P. Schultz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A simple subnet scan

We will perform simple scan of a subnet:

Perform a simple subnet scan of your lab network, 192.168.56.0/24. Substitute the subnet you created for your lab network in the section installing Kali on VirtualBox :

nmap 192.168.56.0/24 

This command will scan 1000 popular ports of all targets in a specific subnet range. Examine the output. In the case of our Metasploitable machine (192.168.56.102), we will see the following output. From this output, we can identify the IP address as well as the number of open ports:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required