db_hosts
Lists all hosts discovered in the current Metasploit workspace to provide visibility into target systems during penetration testing and security assessments.
Instructions
List all hosts in the current workspace
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Optional: workspace name to query |
Input Schema (JSON Schema)
{
"properties": {
"workspace": {
"description": "Optional: workspace name to query",
"type": "string"
}
},
"type": "object"
}