packet_extract_websocket
Reassemble TCP streams, parse RFC 6455 WebSocket frames, unmask client payloads, and decode text or JSON messages for persistent C2 or chat triage.
Instructions
Reassembles TCP streams and parses RFC 6455 WebSocket frames, unmasking client payloads and decoding text/JSON messages for persistent C2 or chat triage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Base64-encoded PCAP/PCAPng file bytes (max 10MB). | |
| limit | No | Maximum WebSocket frames to return. | |
| filePath | No | Absolute path to a PCAP/PCAPng file on disk (local stdio only). |