Text2pcap (Wireshark) 4.4.0 (v4.4.0rc1-11-g13699b5b3e78) Generate a capture file from an ASCII hexdump of packets. See https://www.wireshark.org for more information. Usage: text2pcap [options] where specifies input filename (use - for standard input) specifies output filename (use - for standard output) Input: -o hex|oct|dec|none parse offsets as (h)ex, (o)ctal, (d)ecimal, or (n)one; default is hex. -t treat the text before the packet as a date/time code; is a format string supported by strptime, with an optional %f descriptor for fractional seconds. Example: The time "10:15:14.5476" has the format code "%H:%M:%S.%f" The special format string ISO supports ISO-8601 times. NOTE: Date/time fields from the current date/time are used as the default for unspecified fields. -D the text before the packet starts with an I or an O, indicating that the packet is inbound or outbound. This is used when generating dummy headers if the output format supports it (e.g. pcapng). -a enable ASCII text dump identification. The start of the ASCII text dump can be identified and excluded from the packet data, even if it looks like a HEX dump. NOTE: Do not enable it if the input file does not contain the ASCII text dump. -r enable regex mode. Scan the input using , a Perl compatible regular expression matching a single packet. Named capturing subgroups are used to identify fields: (mand.), and