Is it possible to capture packets live and store it into a pcap file then converting pcap to a windows txt file using tshark or windows shell scripting?
asked 18 Apr '12, 02:50
misteryuku 5●24●26●29 accept rate: 0%
tshark -i your_interface -V > your_path_to_text_file will write the text output directly to a file.
tshark -i your_interface -V > your_path_to_text_file
answered 18 Apr '12, 03:06
grahamb ♦ 4.2k●2●15●64 accept rate: 14%
To write the output to a pcap file and a text file at the same time: $ tshark -i your_interface -xV -w test1804.pcap > test1804txt
answered 18 Apr '12, 05:58
joke 1.2k●3●7●29 accept rate: 10%
edited 18 Apr '12, 06:00
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
Riverbed Technology's Cascade products let you seamlessly move between packets and flows for comprehensive monitoring, analysis and troubleshooting.
Tags:
tshark ×253 pcap ×68 shell ×2
Asked: 18 Apr '12, 02:50
Seen: 908 times
Last updated: 18 Apr '12, 06:43
What are you waiting for? It's free! Wireshark documentation and downloads can be found at the Wireshark website.
Write Gzip Encoded HTTP as Inflated in PCAP File
Covert the .pcap file to a .csv file using tshark
Tshark how to capture to a file and print text on screen
how to add data length column in wireshark display or plot payload length vs packet no
Converting a wireshark pcap file to a windows txt file that contains field=value data.
Extracting SOAP XML Payload
Exporting pcap to csv using tshark
Can we get a decrypted .pcap from an encrypted .pcap file through some command if i have private key
Perl Net::Pcap Can not parse wireshark saved pcap file
Filter multiple IPs
powered by OSQA
First time here? Check out the FAQ!