First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to export complete data bytes to csv or txt files from wireshark

  • retag add tags

Hello, I cant export all the data (35 bytes) of data to csv or .txt file , i could export only 25 btes of data and last 10 bytes are displaying as '.....' like this format

Frame (77 bytes):
0000  00 20 0c 35 36 3f 78 ac c0 a9 fc a1 08 00 45 00   . .56?x.......E.
0010  00 3f 04 d2 00 00 7f 11 cf 4e a0 30 c7 5d ff ff   .?.......N.0.]..
0020  ff ff 77 25 77 25 00 2b 61 e1 d0 01 80 01 00 00   ..w%w%.+a.......
0030  00 1a 00 00 00 00 01 01 02 00 ab cd 00 01 01 02   ................
0040  03 04 10 20 30 40 ab ef 12 23 45 56 00            ... 0@...#EV.

d0 01 80 01 00 00   ..w%w%.+a.......
0030  00 1a 00 00 00 00 01 01 02 00 ab cd 00 01 01 02   ................
0040  03 04 10 20 30 40 ab ef 12 23 45 56 00            ... 0@...#EV. -- total data bytes

d00180010000001a0000000001010200abcd000201020304... - i could extract like this

Please support on this.

Thanks Pradeep

Pradeep's avatar
1
Pradeep
asked 2021-03-25 09:36:42 +0000
grahamb's avatar
23.8k
grahamb
updated 2021-03-25 10:50:52 +0000
edit flag offensive 0 remove flag close merge delete

Comments

How are you attempting the export? When I use text2pcap to convert the data to a pcap file and load it into Wireshark, Wireshark dissects the packet as a malformed Mikrotik Neighbor Discovery Protocol packet. If I right-click on Mikrotik Neighbor Discovery Protocol in the Packet Details pane and choose Copy -> ...as a Hex Stream, all 35 byte are exported. I don't know if there is a byte limit exporting data in this manner, but if there is, the limit is definitely larger than 35.

cmaynard's avatar cmaynard (2021-03-25 13:41:58 +0000) edit
add a comment see more comments

1 Answer

0

export to csv for more than 24 bytes data

With recent versions of wireshark it should be enough for 35 bytes.

epan/to_str: change MAX_BYTE_STR_LEN from 48 to 72

Chuckc's avatar
3k
Chuckc
answered 2021-03-25 16:01:56 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer