nmap_scan
Scan network targets with nmap and automatically import results into Metasploit database for security testing workflows. Supports various scan types including quick, stealth, full, and UDP scans.
Instructions
Run an nmap scan and import results into Metasploit database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target IP address or CIDR range | |
| ports | No | Optional: port range or specific ports (e.g., '80,443' or '1-1000') | |
| scanType | No | Optional: type of scan to perform | quick |
Input Schema (JSON Schema)
{
"properties": {
"ports": {
"description": "Optional: port range or specific ports (e.g., '80,443' or '1-1000')",
"type": "string"
},
"scanType": {
"default": "quick",
"description": "Optional: type of scan to perform",
"enum": [
"quick",
"stealth",
"full",
"udp"
],
"type": "string"
},
"target": {
"description": "Target IP address or CIDR range",
"type": "string"
}
},
"required": [
"target"
],
"type": "object"
}