export from one field of packets
Hello Sorry, my English is not good I wanted to know if there is a way to output only a specific field of a large number of packets in a file format?
add a comment
Hello Sorry, my English is not good I wanted to know if there is a way to output only a specific field of a large number of packets in a file format?
tshark is good for exporting fields:
~$ tshark -r ./output.pcap -T fields -e frame.number -e tcp.flags.str -Y tcp.flags.str 50 ·······A···F 51 ·······AP··· 52 ·······AP··· 53 ·······A···· ...
Adding the -Y
option with the field name prevents printing blank lines for frames that don't include the field.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-02-27 13:13:55 +0000
Seen: 147 times
Last updated: Feb 27 '23