Connecting with the Metasploit Framework

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

Get Mastering Python for Networking and Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.