Technical requirements
To get the most out of this chapter, you will need to install a Python distribution on your local machine and have some basic knowledge about the HTTP protocol. We will work with Python version 3.10, available at https://www.python.org/downloads.
The examples and source code for this chapter are available in the GitHub repository at https://github.com/PacktPublishing/Python-for-Security-and-Networking.
Check out the following video to see the Code in Action: https://packt.link/Chapter08.
This chapter requires the installation of the Nmap program in your operating system and the python-nmap
module. You can install Nmap through the official URL, https://nmap.org/download.html. You can use your operating system’s package management tool to install it. Here’s a quick guide on how to on install this module in a Debian-based Linux operating system with Python 3.10, using the following commands:
$ sudo apt-get install python3.10
$ sudo...