Working with Nmap Scanners

This chapter covers how network scanning is done with python-nmap to gather information on a network, host, and the services that are running on the hosts. Some of the tools that allow a port scanner and automate the detection of services and open ports, we can find in Python, among which we can highlight python-nmap. Nmap is a powerful port scanner that allows you to identify open, closed, or filtered ports. It also allows the programming of routines and scripts to find possible vulnerabilities in a given host.

The following topics will be covered in this chapter:

  • Learning and understanding the Nmap protocol as a port scanner to identify services running on a host
  • Learning and understanding the python-nmap module ...

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.