Examples and source code for this chapter are available in the GitHub repository in the chapter8 folder:
https://github.com/PacktPublishing/Mastering-Python-for-Networking-and-Security.
You will need to install a Python distribution in your local machine with at least 4 GB of memory. In this chapter, we will use a virtual machine with which some tests related to port analysis and vulnerability detection will be carried out. It can be downloaded from the sourceforge page: https://sourceforge.net/projects/metasploitable/files/Metasploitable2
To log in, you must use the username, msfadmin, and the password, msfadmin: