ctf_sendline
Send a line of text to a CTF program with an automatic newline, enabling precise input control during exploitation.
Instructions
向 CTF 程序发送一行数据(自动追加换行符)。
Args: line: 要发送的文本行
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": {
"line": "<line>"
},
"name": "ctf_sendline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |