[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] [OT] Variation of grep
Jim Kinney wrote:
> assuming a repeating structure as in the example:
OK, well, let's not assume that :-)
Here's another use case: go through a PDML file and dump out
the payloads of all SNMP SET packets in the file. Don't dump
anything that isn't inside a <proto name="snmp"> section, and
dump only those sections containing the string
name="snmp.get_request"
(PDML is an XML representation of packet structure.
"tshark -T pdmp -r filename.pcap" will dump the PDML of a PCAP
capture file.)
-- JK
--
A closed mouth gathers no feet.