decode_stream
Decode Base64, hex, URL, or rot13 encoded data from a TCP stream. Use when you suspect an encoded flag or need to extract payloads from network traffic.
Instructions
【CTF必备】Automatically decode Base64, hex, URL, or rot13 encoded data. Use this when: 1) User asks to decode something, 2) After entropy analysis suggests encoding, 3) Found what looks like encoded flag.
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": {
"session_id": "<session_id>",
"stream_index": "<stream_index>"
},
"name": "decode_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Encoding type: auto, base64, hex, url, rot13 | auto |
| session_id | Yes | ID of the session | |
| stream_index | Yes | TCP stream index to decode |