Databases
msf > help database
Database Backend Commands
=========================
Command Description
------- -----------
db_connect Connect to an existing database
db_disconnect Disconnect from the current database instance
db_export Export a file containing the contents of the database
db_import Import a scan result file (filetype will be auto-detected)
db_nmap Executes nmap and records the output automatically
db_rebuild_cache Rebuilds the database-stored module cache
db_status Show the current database status
hosts List all hosts in the database
loot List all loot in the database
notes List all notes in the database
services List all services in the database
vulns List all vulnerabilities in the database
workspace Switch between database workspacesSetup
DB_STATUS
Workspaces
Listing Workspaces
Switching Workspace
Creating/Deleting a Workspace
DB_IMPORT
DB_NMAP
DB_EXPORT
Hosts
Selecting Columns (-c)
Filtering by String (-S)
Setting RHOSTS (-R)
CSV Export (-o)
Services
Selecting Columns (-c)
Filtering by String (-s, -S)
Filtering by Host
Filtering by Port (-p)
CSV Export (-o)
Credentials
Adding a Credential (-a)
Hashdump
References
Last updated