Skip to Content
Python for Security and Networking - Third Edition
book

Python for Security and Networking - Third Edition

by José Manuel Ortega
June 2023
Intermediate to advanced
586 pages
12h 35m
English
Packt Publishing
Content preview from Python for Security and Networking - Third Edition

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Python for Networking and Security - Second Edition

Mastering Python for Networking and Security - Second Edition

José Manuel Ortega
Python for Cybersecurity

Python for Cybersecurity

Howard E. Poston, III

Publisher Resources

ISBN: 9781837637553Supplemental Content