Printing captured packets in CSV file [closed]
Hi, I am able to print all the packets data in PDF format.
But how can I do this task in CSV format?
Hi, I am able to print all the packets data in PDF format.
But how can I do this task in CSV format?
From the menu; File -> Export Packet Dissections -> As CSV ...
Hi, Graham,
Thanks for your reply.
I have exported the packets summary in CSV. But I want to export the data (Siemens PLC S7comm packets query, response) as well.
I can print this data in pdf, unfortunately not in csv.
Thanks.
Hi,
How to add the below data in the columns?
I simply dragged the below data to columns, but I can only see a tick mark in the column.
S7 Communication Header: (Job) Parameter: (Read Var) Function: Read Var (0x04) Item count: 7 Item [1]: (DB 1.DBX 60.0 WORD 1) Item [2]: (DB 1.DBX 50.0 WORD 1) Item [3]: (DB 1.DBX 1018.0 WORD 1) Item [4]: (DB 1.DBX 910.0 DWORD 1) Item [5]: (M 0.2 BIT 1) Item [6]: (M 0.0 BIT 1)
I don't think you can use the "Item" elements as columns, there's no way to select which of the multiple items appears in the column.
I think you'll have to use a format other than csv. The problem with csv is that the output columns have to be known at the start, but the code only knows which columns to output once a packet has been dissected which is too late. Other formats such as JSON allow variable length "records" (and arrays of items) so don't suffer this problem.
Hi, Ok
Could you please guide me on how to save this data in JSON format?
I believe I can convert the data from JSON to CSV later. Please let me know.
Thanks for this.
The JSON file prints as below
s7comm.param.item:{
s7comm.param.item.varspec:0x00000012
s7comm.param.item.varspec_length:10
s7comm.param.item.syntaxid:0x00000010
s7comm.param.item.transp_size:4
s7comm.param.item.length:1
s7comm.param.item.db:1
s7comm.param.item.area:0x00000084
s7comm.param.item.address:0x000001e0
s7comm.param.item.address_tree:{
s7comm.param.item.address.byte:60
s7comm.param.item.address.bit:0
But, the Pdf print as original HMI query like below
Item [2]: (DB 1.DBX 50.0 WORD 1)
Can the JSON file display the HMI query format as pdf do?
Asked: 2021-11-24 10:01:54 +0000
Seen: 515 times
Last updated: Nov 24 '21
Converting Pcap file to CSV file while defautly keeping all features/fields defined in pcap
How to export the Reassembled IPv4 data and not the Frame data
Export phasor measurments data to CSV
CSV Export - Missing repeated fields
How to tell if TCP segment contains a data in Wireshark?
no data packet except broadcast or multicast
How to check XHR that sends to get dynamic content on a website?