Port scanning with Sparta
Sparta conducts port scanning out of the box using Nmap. In this recipe, we will discuss how we can conduct port scanning by adding tools and customizing the Sparta interface.
Getting ready
Sparta comes pre-bundled with Kali Linux 2. To use Sparta to perform scans, you will need to have remote systems that are running network services. In the examples provided, a combination of Linux and Windows systems is used. For more information on setting up systems in a local lab environment, refer to the Installing Metasploitable2 and Installing Windows Server recipes in Chapter 1, Getting Started.
We will also be editing Sparta's configuration file. Refer to the Using text editors (Vim and GNU nano) recipe in Chapter 1, Getting Started.
How to do it...
Let's now learn to perform port scanning with Sparta:
- Sparta uses Nmap to perform its port-scanning operations. We can see this by right-clicking on a host and navigating to the
Portscan
submenu. A number of Nmap scanning options...