wireshark_get_packet_bytes
Retrieve the raw hex and ASCII dump of a specific network packet from a pcap file, displaying its bytes in Wireshark's standard format.
Instructions
[Bytes] Get raw Hex/ASCII dump (like Wireshark's 'Packet Bytes' pane).
Args: pcap_file: Path to capture file frame_number: The packet number
Returns: Standard Wireshark Hex/ASCII dump.
Example: wireshark_get_packet_bytes("traffic.pcap", 42)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcap_file | Yes | ||
| frame_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |