我怎么能PCAP文件转换为txt文件在Android中? [英] How i can convert pcap files to txt files in Android?

查看:2926
本文介绍了我怎么能PCAP文件转换为txt文件在Android中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我捕捉交通使用tcpdump的,并保存文件.pcap格式。我怎么能这个文件转换为纯文本文件,像Wireshark的呢?


解决方案

  1. 使用tcpdump读它,而不 -w 标记,将其转换为tcpdump的文本格式,写到标准输出。

  2. 获取tshark的移植到Android;它会,与tshark的情况下正确的命令行参数,会做它惊人的相似什么Wireshark的一种时尚。 : - )

  3. 编写自己的程序,做同样的事情的tcpdump或者Wireshark的/ tshark的。

I capture traffic using tcpdump, and save file in .pcap format. How can I convert this file to a plain text file, like Wireshark does?

解决方案

  1. Read it with tcpdump, without the -w flag, which will convert it to tcpdump's text format, written to the standard output.
  2. Get TShark ported to Android; it will, with the proper command-line arguments in the case of TShark, will do it in a fashion surprisingly similar to what Wireshark does. :-)
  3. Write your own program that does the same thing as tcpdump or Wireshark/TShark.

这篇关于我怎么能PCAP文件转换为txt文件在Android中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆