Vulnerability scanning with Sparta
As we have seen, Sparta is a great tool for conducting our reconnaissance and collecting that information in a central repository. We will now see how we can use Sparta and Nmap NSE together to scan for specific vulnerabilities in our target systems.
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 vulnerability scanning with Sparta:
- In order to add a new port action, we close Sparta and use
vi
once again to edit...