Metasploit is the most popular open source tool for pentesting. It was first developed by HD Moore in 2001 in Perl. Later, it was completely rewritten in Ruby, and then it was acquired by Rapid7.
Metasploit contains collections of exploits, payloads, and encoders that can be used to identify and exploit vulnerabilities during a pentest project. We will cover a few recipes that will enable us to use the Metasploit Framework (msf) more efficiently.