managing the database
1.initial setup
initiate the postgresql service on kali linux
service postgresql start
2.msfdbinit
this command with initiate the metasploit framework database instance and it’s a one-time activity
msfdb init
3.db_status
tell us whether the backend database has been initiated successfully and connected to the metasploit framework
db_status
managing workspaces
common commands
importing scans
db_import
host
lists all the hosts found during scans and import
service
with apporiciate parameters, queries the database and filters out services
backing up database
db_export
export data within the database to a xml-file