Scanning types with Nmap

Network Mapper (Nmap) is a free and open source tool used for network discovery and security auditing. It runs on all major computer operating systems, and official binary packages are available for Linux, Windows, and Mac OS X. The python-nmap library helps to manipulate the scanned results of Nmap programmatically to automate port-scanning tasks.

The Nmap tool is mainly used for the recognition and scanning of ports in a certain network segment. From the site, https://nmap.org, we can download the latest version available, depending on the operating system on which we want to install it.

If we run the Nmap tool from the console, we get this:

We can see that we have the following types of scanning:

sT (TCP Connect ...

Get Mastering Python for Networking and Security 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.