First time here? Check out the FAQ!
answered 2017-11-08 17:26:02 +0000
Have you tried using Tshark? https://www.wireshark.org/docs/man-pages/tshark.html
I am not sure what you mean by "export only packet bytes"? Do you mean TCP Length or the actual payload.