当前位置:网站首页>Use of fiddler packet capturing tool
Use of fiddler packet capturing tool
2022-07-19 07:55:00 【God is the Tao, the Dharma, the natural Tathagata】
One 、 Usurp Change data
1、Rulers –Automatic Breakpoints—Before Requests
Grab the requested packet modification data , To set up before requests, Modifying data is requesting modification . First set up , Then grab the bag , Modified to complete , Click on run to completion, The returned request should also be clicked run to completion, To display the page .
for example : New schools , The name of the school is 888, Change it to 999

Go to the packet capturing interface to change the data

Refresh the browser , Data change complete

2、Rulers –Automatic Breakpoints—After Responses
Modify the returned data , Set up After Responses, Decode first , Modify the data in the response , And then click run to completion.
for example : take title The enrollment entry system is changed to : Tiandao enrollment



Two 、 Catch APP My bag
1、 Make sure your phone and computer are on the same LAN ( Cell phone connected to computer WiFi)
Check the computer IP

Turn on your phone and make changes

ipconfig



4、 Operate on a mobile phone APP, use fiddler Grab the bag

Be careful :
- In the mobile phone or mobile terminal APP When testing the interface , You need to get the interface documentation from the developer , The interface documentation should include a complete functional interface 、 Interface request mode 、 Interface request URL、 Interface request parameters 、 Interface return parameters . If the current project has no interface document , You can use fiddler Yes APP Grab the bag to confirm .
- On the phone, right APP To operate , And then in Fiddler The corresponding network interaction information can be captured in
- ( The interaction of multiple interfaces may be designed in a function ). The interface request mode can be seen in the captured information 、 Interface request URL、 Interface request parameters 、 Interface return parameters .
- because fiddler The principle of packet grabbing is through agents , So the tested terminal needs to be installed fiddler Our computers are in the same LAN .
3、 ... and 、 Simulated weak network test
1. Why do weak network tests ? Assist in developing and locating weak network problems , Make sure App stay 2G、3G、4G In all kinds of network environments , Every page can be opened , Can jump normally and complete the complete payment process transfer ,、 Loading and unloading process . Don't pop up easily “ Unable to connect to the network ”,“ Network connection timeout ”,“ The system is busy ” Etc .
2. stay Fiddler There are weak network tests . We can go through Fiddler Conduct weak network test . Weak network testing is to test by controlling the speed of uploading and downloading


3.Ctrl+F lookup . Jump out of upload and download speed . Adjust .Fiddler The speed limit is realized in the form of network delay , Network latency * Network speed = Number of bytes transferred .
Delay sends by 300ms per KB uploaded. Very clear , Delay sending every upload KB 300 millisecond . namely 1kb/0.3s(10kb/3s)
4. After the modification is completed , Press ctrl+s Save script , Running the script , You can limit the Internet speed . Here's the picture



5. Then you can open the web page to view .
Four 、 Grab HTTPS My bag
- http The protocol port is 80.https The protocol port is 443, They use completely different transport protocols .http The link of the agreement is stateless ;https Agreement is made ssl+http The protocol can be constructed for encrypted transmission , Network protocol for identity authentication , He compared http Security agreement .
- http It's the hypertext transfer protocol , The message is transmitted in clear text . So catch http Relatively easy .
- https It is safe ssl Encrypted transport protocol .https The agreement needs to reach ca Apply for a certificate .
step :
First export the certificate to the desktop
Need to download first fiddlercertmaker function




Open Google browser Set up








Last , Open a web page in a browser , use fiddler Grab the bag

Error reporting solution :
1、 Unable to download certificate
install fiddlercertmaker
Check whether the version of the packet capturing tool is the latest
2、 When modifying the response data, there is a blank
First click decode , Modify data again , Then click run to completion
3、fiddler Initiate error reporting

边栏推荐
猜你喜欢
随机推荐
@ConditionalOnMissingBean 如何实现覆盖第三方组件中的 Bean
Canel-简介&使用
redis 存储结构原理 2
修改radio样式
Introduction to 3D Visualization: see how rendering pipelines work in GPU
Pytorch随记(3)
Understand LSTM and Gru
1669. 合并两个链表(两个链表的合并)
导出文件or下载文件
Virtual machine stack of [JVM]
企业微信上的应用如何与门店的sybase数据库关联
xgboos-hperopt
理解LSTM和GRU
standard-version(发版与 Changelog 自动化)
Pytoch notes (1)
京东购买意向预测(三)
SCI论文的Highlights怎么写(正经的教你怎么写)
VMware cloud director 10.4 release (including download) - cloud computing provisioning and management platform
六十、清除缓存
Spark3.x source code compilation









