{{define "title"}}Hex → pcap{{end}} {{define "toolbar-info"}}Build a pcap file from hex · Load example{{end}} {{define "content"}} {{with .Data}} {{if .Error}}
Paste hex for each layer. The fields are decoded and concatenated into one packet. Any field may be empty, so you can also paste a whole packet into a single field. Spaces, newlines, :, -, 0x and \x are ignored.
:
-
0x
\x
IPv4/IPv6 length, IPv4 header checksum, TCP/UDP/ICMP/ICMPv6/SCTP checksum, UDP length. The end of the layer 3 field also sets the TCP data offset and the length of the SCTP chunk the payload belongs to (paste chunk data without padding).
{{.Old}}
{{.New}}
{{.}}
{{- range .Dump -}} {{.Offset}} {{range .Bytes}}{{.Hex}}{{.Sep}}{{end}} {{.ASCII}} {{end -}}