Exporting PCAP to Database
Hi guys!
I'm working on a little program to convert .PCAP files into MySQL tables, in order to make analysis easier (a program that I will share here as soon as is finished, naturally).
My first command is running on a Windows console and outputs a very nice filtered .pcap file, filled with information.
tshark -r "C:\proyecto \20210729_15_45-MIRR-BKP.pcap" -Y camel -w "C:\proyecto\20210729_15_45-MIRR-BKP_filtered.pcap"
However, on my next step, converting the aforementioned .PCAP to JSON, I'm getting a blank JSON file.
tshark -r "C:\proyecto\20210729_15_45-MIRR-BKP_filtered.pcap" -T json -w "C:\proyecto\20210729_15_45-MIRR-BKP.json"
I used the code provided by @Chuckc on this post.
Once I get the .JSON part working, I'll implement a little UI to select what packet information will be exported, etc.
Thank you and best regards
@Chuckc provided the answer to this question in his comment. Quoting him:
Thank you very much!
I turned his comment into an answer. (That option might not have been offered to you, as you might not have had the privileges to do so.)