ncat
Establish TCP/UDP connections, create background listeners, and interact with network services for penetration testing.
Instructions
Purpose: Use ncat with action=connect|listen|interact for TCP/UDP connections and background listeners. Constraints: connect requires target and port and runs foreground. listen can run foreground or background; background=True creates a job_id and pipe.… Example: ncat(action='listen', port=4444, job_id='listener1')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udp | No | ||
| port | No | ||
| action | Yes | ||
| job_id | No | ||
| target | No | ||
| command | No | ||
| execute | No | ||
| background | No | ||
| extra_args | No | ||
| tail_lines | No | ||
| listen_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||