How to do it...

Let's now learn to perform port scanning with Sparta:

  1. 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 are available to us; these options are also configurable in the sparta.conf file:
  1. If we want to add other options with different tools, we can do that as well. Let's begin by adding an option to conduct a stealth scan using hping3.  Close the Sparta application and open a terminal window. From here, let's edit the Sparta configuration file using the following command:
 vi /usr/share/sparta/sparta.conf ...

Get Kali Linux Network Scanning Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.