One of the objectives of this chapter has been to learn about the Metasploit framework as a tool to exploit vulnerabilities and how can we interact programmatically in Python with the Metasploit console. With modules such as Python-msfrpc and pyMetasploit, it is possible to automate the execution of the modules and exploits that we can find in the Metasploit framework.
In the next chapter, we will explore vulnerabilities that we can find in the Metasploitable virtual machine, and how connect to with vulnerability scanners, such as nessus and nexpose, from Python modules to extract these vulnerabilities .