i am making batch file that read pcap file here is my batch file code
that creates an empty output file in d directory i have tested my command con tshark here is command
that works sucessfully can you please tell me how to read and save text of pcap file using batch file? asked 21 Mar ‘16, 01:38 Engr Nouman |
One Answer:
If you post is exactly what you have in your batch file, then you'll need to quote the pcap filename. You may also need to quote the other parameters. Test by executing exactly the same command at the command prompt. answered 21 Mar '16, 10:17 grahamb ♦ |
What kind of text are you trying to add to the pcap ? Have you researched “editcap” and “mergecap” ? I believe editcap should allow you to do what you need. I’d have to research it more to give you exact options, but both are powerful when it comes to editing pcap files.