port_scan
Identify listening TCP/UDP ports and associated processes to reveal exposed services. Filter by specific port or protocol for targeted checks.
Instructions
List all listening TCP/UDP ports with their associated processes. Can filter to a specific port number or protocol. Uses 'ss' (modern) with 'netstat' fallback. Useful for checking what services are exposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Check a specific port. Omit to list all listening ports. | |
| protocol | No | Protocol filter (default: all). | all |