当前位置:网站首页>Comprehensive comparison of the most popular packet capturing tools in the whole network
Comprehensive comparison of the most popular packet capturing tools in the whole network
2022-06-24 20:59:00 【Programmer Xiaofan】
As a software testing engineer , Catching bags is always inevitable : If you encounter problems, you need to analyze them and capture them ; Find out bug Need to locate the packet to capture ; To check the security of data transmission, you need to capture packets ; In case of incomplete requirements in interface testing, you also need to capture packets ... Just because packet capture is everywhere in testing , Therefore, there will be a large number of packet capture tools on the market for everyone to choose .
I have also sent some articles to introduce some common packet capture tools , such as wireshark,Charles etc. , Then there are a lot of small partners. One of the most frequently asked questions in private letters or messages is “ This tool and xxx What's the difference between tools ?” perhaps " This tool and xxx Who can use tools better ?"
therefore , In order to solve everyone's doubts , So that we can reasonably choose more suitable tools , Better assist in the execution of test work , Today, let's analyze the advantages and disadvantages of various popular bag capturing tools .
Fiddler
Fiddler Tools are classic and powerful , Everyone should understand this . It can provide computer terminal 、 Packet capture at mobile end 、 Include http The protocol and https The protocol can capture the message and analyze it ; You can set breakpoints to debug 、 Intercept the message for request replacement and data tampering , Request construction can also be performed , Network packet loss and delay can also be set APP Weak network test, etc .
therefore ,fiddler The first advantage of , Is powerful and complete ;
The second advantage is Fiddler It's open source and free , All computers can directly use all functions as long as they are installed ! This is undoubtedly a very big advantage , It has also attracted a large number of users !
Of course , It also has its own shortcomings : Only in windows Lower installation and use . If you want to capture packets on other systems , such as MacOS System ,Linux System , that Fiddler There is no place for martial arts .
Charles
Charles Tool alias “ vase ”, It is implemented by proxy to capture packets , That is, when we visit the web page, we configure the proxy to point to Charles Listening port , Then all the requests Charles Will help us forward and record .
Charles Is very simple to use , After the agent is configured ,Charles I started to grab the bag . We can go directly through its GUI Look at the contents of the package , In fact, the function and use are similar to Fiddler Very similar , It can also provide packet capture analysis for computers and mobile phones 、 To set breakpoints 、 Weak network environment simulation, etc , So it's the same as fiddler What's the difference ?
advantage :
- Charles be based on Java Developed , Good cross platform . So not only support Windows System , And support MacOS, as well as Linux operating system ; So it's basically not windows Computers will choose Charles Tools .
- Want to grab https The configuration of the protocol is also very simple , Just install charles Just your certificate
shortcoming :
Charles Tools are not free . It needs to buy license, If you don't buy and use it, you will every 30 Once a minute , The experience is very bad !
Wireshark
Wireshark It can also be installed and used on all platforms , But its functional focus and Charles&Fiddler Somewhat different , It is mainly used to capture the data packets of all protocols in the network , Very professional in analyzing network protocols and network problems !
Wireshark The advantages of tools :
- You can select a specific network card to capture traffic , Then it will only capture the data of the concerned network card , It's very targeted ;
- It can capture all protocol messages , And the captured message can be completed with OSI The format display of seven layer network model , You can clearly see every interaction message between the client and the server , And the detailed content of each packet at each level of the network is displayed . therefore , This tool is very suitable for learning and analyzing network protocols .
- Provides very powerful filtering rules .Wireshark Can provide pre capture filtering , You can also capture and filter , And the filtering rules are very detailed , Can achieve very high precision and fine-grained packet filtering ;
- Can combine TCPdump Use , Analyze online servers (Linux System ) Data packets captured under the , Positioning online problems .
Wireshark The disadvantages of tools :
- If you want to use it flexibly, you need to have a certain network foundation , It's difficult for beginners ;
- Unable to analyze https Data packets , because wireshark It is the packet information obtained at the link layer , So what we get is https Packets are encrypted data , Therefore, the package content cannot be analyzed . Of course , We can https Decrypt the packet , But the operation has some complexity , It could take a lot of time .
BurpSuite
Burpsuite Tools are also based on Java Language development , So it can also be used across platforms , Include Windows,MacOS And Linux And so on .
Burpsuite Can provide capture function , It also works as a proxy between the browser and the website to intercept messages ; It can also modify the data content and forward it ; You can even choose to use the crawler to crawl down the relevant data of the website ...
however , It's definitely more than just a bag grabbing tool , It integrates a lot of practical tools to complete more powerful functions , such as http Request forwarding 、 modify 、 Scanning, etc . At the same time, these gadgets can cooperate with each other , stay BurpSuite Customized attack and scanning schemes are carried out under this framework .
So many function testers of this tool will use it to capture messages and tamper with data , Many security testers will use it for semi-automatic network security audit , Developers can also use its scanning tools for website stress testing and attack testing , It has a wider range of functions .
But it has its own shortcomings , It's not free ! The annual cost per user is 299$, The cost of use is relatively high .
Official account program yuanmuzi
F12
F12 It's the simplest of many bag grabbing tools 、 The lightest , Because it is a browser built-in developer tool to provide the function of capturing browser data packets . It's installation free , Open the browser directly and you can use it directly , All very easy to use , Suitable for beginners at entry level .
It is mainly aimed at HTTP The protocol and HTTPS agreement , We can confirm a status of our network packets , By analyzing the contents of the request and response message , Analyze whether the request data and response data are correct , Positioning is a front-end issue or a back-end issue .
and F12 As part of the browser , It's the end of data transmission , I caught it HTTPs Message can get plaintext data ; However, it can only grasp the sending and receiving messages of the current browser , The hierarchy can only be in the application layer Http(s) agreement , Can't grab other data packets .
although F12 Packet capture debugging can also meet our basic testing needs , However, there is still a certain gap between the interface and power and other packet capturing tools .
TCPdump
TCPdump I wrote an article last week about , This is dedicated to Linux Command line grab tool , It can provide many parameters to filter and define network packets .
And the message it grabs can be printed directly in Linux Command line interface , It can also be saved as a file , And use Wireshark Tools open for more detailed analysis .
summary
in summary , There are a lot of package grabbing tools available for testing , However, each has its own advantages , There are also corresponding shortcomings , So according to their own use scenarios , The most important thing is to choose the most suitable bag grabbing tool !
I have also prepared a 216 Page software testing engineer interview guide document information . And the corresponding video learning tutorial is free to share !, The information includes basic knowledge 、Linux necessary 、Shell、 The principles of the Internet 、Mysql database 、 Special topic of bag capturing tools 、 Interface testing tool 、 Test advanced -Python Programming 、Web automated testing 、APP automated testing 、 Interface automation testing 、 Testing advanced continuous integration 、 Test architecture development test framework 、 Performance testing 、 Safety test, etc. , Pick up from above
边栏推荐
- 物联网?快来看 Arduino 上云啦
- 科创人·味多美CIO胡博:数字化是不流血的革命,正确答案藏在业务的田间地头
- 首个大众可用PyTorch版AlphaFold2复现,哥大开源OpenFold,star量破千
- Handling of garbled JMeter response data - three solutions
- 2022年最新四川建筑八大员(电气施工员)模拟题库及答案
- Batch capitalization of MySQL table names
- Undo log and redo log must be clear this time
- Open programmable infrastructure (OPI) project, redefining dpu/ipu
- Background of master data construction
- Material management system based on SSM (source code + document + database)
猜你喜欢

Mapstacks: data normalization and layered color layer loading

Dongyuhui is not enough to bring goods to "rescue" live broadcast

Camera rental management system based on qt+mysql

Memo mode - game archiving

主数据建设的背景

在Dialog中使用透明的【X】叉叉按钮图片

实现基于Socket自定义的redis简单客户端

两位湖南老乡,联手干出一个百亿IPO

Apple, Microsoft and Google will no longer fight each other. They will work together to do a big thing this year

传统的IO存在什么问题?为什么引入零拷贝的?
随机推荐
Sequential stack traversal binary tree
Bytebase joins Alibaba cloud polardb open source database community
"Super point" in "Meng Hua Lu", is the goose wronged?
基于SSM的物料管理系统(源码+文档+数据库)
C語言實現掃雷(簡易版)
Behind Tiantian Jianbao storm: tens of millions in arrears, APP shutdown, and the founder's premeditated plan to run away?
Rename and delete files
顺序栈遍历二叉树
Selenium crawl notes
Leetcode (146) - LRU cache
maptalks:数据归一化处理与分层设色图层加载
Learn together and make progress together. Welcome to exchange
Several common command operations in win system
DAPP system customization of full chain hash game (scheme design)
IDEA Dashboard
opds sql组件能不能将流程参数通过上下文传给下一个组件
You can capture fingerprints with a mobile camera?! Accuracy comparable to signature and monogram, expert: you are aggravating discrimination
Mapstacks: data normalization and layered color layer loading
C langage pour le déminage (version simplifiée)
Steps of JMeter performance test