preface
There are many Android packet capture methods that currently exist, such as Fiddler, Charels, Packet Capture, and tcpdump, each with certain advantages and disadvantages.
Fiddler and Charels use computers to capture packets in the form of proxies, which rely on computers and can only run in a WIFI environment, and the code is not open source. tcpdump requires root, and packet analysis is complex, so it generally requires the use of third-party analysis tools, which cannot parse https. Packet Capture uses Android VPN to capture packets, without root, and can analyze the content of https packets. The parsing file cannot be downloaded, and the code is not open source. AndroidHttpCapture uses a local proxy on the mobile phone to capture packets, and can analyze the content of https packets without rooting. The parsing file can be downloaded, and the code is open source. The disadvantage is that it needs to be operated in a wifi environment. In summary, the current packet capture tools have more or less certain shortcomings, among which the best one is PacketCapture. This project refers to PacketCapture, providing a basically similar interactive experience to PacketCaptrue, but with a package parsing function that is far more powerful than PacketCapture, which can parse packages in various formats such as GZIP, PNG, JPEG, GIF, etc., and provides the function of saving the parsed package content, supporting https, and the code is open source.
function
Displays every network connection established by the selected client in real time. It can parse and view the contents of https and http packages. By default, packet capture data is saved, and the saved records can be viewed. It can automatically parse and save packet capture data. It supports https packet capture and parsing images, GZIP, GIFs, and other formats. Support selecting the corresponding APP to capture packages.
use
First of all, select the application you want to capture packets, you can also choose to capture all the packages on the phone, open the VPN to start capturing packets, view the packet capture resolution results, the packet capture tool will save the packet capture record, you can find all the captured packages according to the start time of the packet capture, select the corresponding historical link and view the historical packet capture content.
Screenshot
Article introduction:
https://www.jianshu.com/p/ae4d433597ce
Download Address:
http://sj.qq.com/myapp/detail.ht ... nhui.networkcapture
GitHub address:
https://github.com/huolizhuminh/NetWorkPacketCapture
|