Fiddler断点Automatic Breakpoints的使用

1、 断点修改Request

1.1、Request全部中断

设置中断:Rules---> Automatic Breakpoints--->Before Requests

取消中断:Rules---> Automatic Breakpoints--->Disabled

点击下发红色箭头的位置进行中断切换;

1.2、Request特定网站中断

特定网站中断设置:快速命令行输入“bpu www.baidu.com+Enter”,只会中断www.baidu.com;

特定网站中断取消:快速命令行输入“bpu+Enter”;

2、断点修改Response

2.1、Response全部中断

设置中断:Rules---> Automatic Breakpoints--->After Response

取消中断:Rules---> Automatic Breakpoints--->Disabled

点击下发红色箭头的位置进行中断切换;

例1_脚本替换:打开http://news.baidu.com/--->设置请求断点--->清空fillder抓包数据--->刷新http://news.baidu.com/页面--->在Response中修改内容--->点击“Run to Completion” --->点击“Go” --->结果:修改后的内容;

例2_状态码替换:打开http://news.baidu.com/--->设置请求断点--->清空fillder抓包数据--->刷新http://news.baidu.com/页面--->在Response中选择状态码--->选择502_Unreachable.dat --->点击“Run to Completion”--->点击“Go” --->结果:状态码502内容;

2.2、Response特定网站中断

特定网站中断设置:快速命令行输入“bpafter www.baidu.com+Enter”,只会中断www.baidu.com;

特定网站中断取消:快速命令行输入“bpafter+Enter”;

2.3、Response查找或替换

3、其他断点相关命令行

bps:特定http状态码时中断,比如:bps 200;

bpv/bpm:在特定请求method时中断,比如bpv GET或bpm POST;

g:等于Go

发布了35 篇原创文章 · 获赞 16 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/qq_38795430/article/details/99691720