It is fairly simple to set up the new version of Metasploit, since Metasploit does not run as a service anymore:
- Start the PostgreSQL by running systemctl start postgresql in the Terminal.
- Initialize the Metasploit database by running msfinit; unless it is a first time, the initialization will create the database msf and create a role and add msf_test and msf databases in the configuration file /usr/share/metasploit-framework/config/database.yml; otherwise, by default, the msf database will be created in the prebuild of Kali Linux.
- Now you are ready to access msfconsole.
- Once inside the console, you can verify the status of the database by typing db_status in the console and you should be able to see the ...