This chapter covers the Metasploit framework as a tool to exploit vulnerabilities, and how to use it programmatically from Python with the Python-msfprc and pyMetasploit modules. These modules help us to interact between Python and Metasploit's msgrpc to automate the execution of the modules and exploits that can be found in the Metasploit framework.
The following topics will be covered in this chapter:
- The Metasploit framework as a tool to exploit vulnerabilities
- msfconsole as the commands console interface to interact with the Metasploit Framework
- Connecting Metasploit to the python-msfrpc module
- Connecting Metasploit to the pyMetasploit module