convert cap to csv keeping field's leading zeros
Hi everybody, I'm converting a cap file to csv file using the following line
"C:\Program Files\Wireshark\tshark.exe" -r "C:\Users\User\Desktop\test.cap" -T fields -e tcap.tid -E header=y -E separator=; > "C:\Users\User\Desktop\test2.csv"
The csv file is generated, but the tcap.tid values don't have the leading zeros as in the cap file. How can I fix this issue?
Can you share a pcap file that shows the issue?
If so put the file(s) you would like to share on a public file share - Dropbox, Google, Microsoft, ... - then update your question with a link to them.
Just how did you check the CSV file? Excel will hapily remove leading zero's.