Error in service Metasploit start in Kali

Used in Kali   service   When Metasploit start, an error is reported:

Failed to start metasploit.service: Unit metasploit.service not found.

This is because the new version of Kali has been updated

The correct method of use is:

1. Start PostgreSQL:

service postgresql start

2. Initialize Metasploit   PostgreSQL database

msfdb init

3. Start msfconsole and verify whether the connection to the database is successful:

Enter the command: msfconsole to enter msf5

 

  Input DB_status:

Similar Posts: