ctf_send
Send data to a CTF program. Specify hex_mode to send raw bytes from a hex string.
Instructions
向 CTF 程序发送数据。
Args: data: 要发送的数据。如果 hex_mode=True,则 data 是十六进制字符串(如 "414243") hex_mode: 是否将 data 当作十六进制字节串处理
Returns: 确认发送的字节数
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<data>"
},
"name": "ctf_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| hex_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |