ctf_recv_until
Reads network data until a specified text pattern is found, enabling automated waiting for prompts in CTF exploitation.
Instructions
接收数据直到匹配指定模式。
Args: pattern: 要匹配的文本模式(如 "Choice: ", ">>>", ":") timeout: 等待的最大秒数
Returns: 从开始到匹配模式为止的所有数据
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |