wireshark_text2pcap_import
Import ASCII or hex dump files as pcap capture files for network packet analysis.
Instructions
Convert an ASCII or hex dump into a capture file using text2pcap.
Args: input_text_file: Source text or hexdump file output_file: Destination capture file encapsulation: Output link-layer encapsulation, default is ether timestamp_format: Optional strptime-compatible timestamp format ascii_mode: Enable ASCII dump detection when the input includes an ASCII column
Returns: Success message or JSON error
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ascii_mode | No | ||
| output_file | Yes | ||
| encapsulation | No | ether | |
| input_text_file | Yes | ||
| timestamp_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |