8

Working with Nmap Scanner

This chapter describes how to perform network scans using python-nmap as a wrapper for Nmap to gather information about a network, a host, and the services running on that host. python-nmap provides a specific module to take more control of the process of scanning a network to detect open ports and exposed services in specific machines or servers.

The following topics will be covered in this chapter:

  • Introducing port scanning with Nmap
  • Port scanning with python-nmap
  • Synchronous and asynchronous scanning with python-nmap
  • Discovering services and vulnerabilities with Nmap scripts
  • Port scanning using online services

Technical requirements

To get the most out of this chapter, you will need to install a Python distribution ...

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