port_check
Check if a TCP port is open on a target host and retrieve the service banner to identify running services or firewall policies.
Instructions
Check if a TCP port is open and optionally grab service banner.
Use this tool to verify if a service is listening on a port, check firewall rules, or identify what service is running on a port.
Args: target: Hostname or IP address to check port: TCP port number to check (1-65535) timeout: Connection timeout in seconds (default: 5) grab_banner: Whether to attempt to grab service banner (default: True)
Returns: Port status (open/closed), response time, and optional service banner
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| port | Yes | ||
| timeout | No | ||
| grab_banner | No |