This is an old revision of the document!
Metasploit is a penetration testing toolkit that comes bundled with both Kali Linux and Parrot OS. It can also be download here. Metasploit greatly simplifies the act of finding and testing well known exploits and can save a penetration tester or security professional massive quantities of time over building these exploits by hand. It is user friendly with just some basic syntax that needs to be learned to get started. All the directions below apply to the Linux implementations of Metasploit.
Before Metasploit is run for the first time the underlying database needs to be set up and initialized. This can be accomplished by running
service postgresql start
Now that the database is up and running we need to initialize it to work with Metasploit with the
msfdb-init
command.