设置断点调式 fiddler

时间:2022-10-02 11:25:12
  1. 用IE 打开博客园的登录界面  http://passport.cnblogs.com/login.aspx
  2. 打开Fiddler,  在命令行中输入bpu http://passport.cnblogs.com/login.aspx
  3. 输入错误的用户名和密码,点击登录
  4. Fiddler 能中断这次会话,选择被中断的会话,点击Inspectors tab下的WebForms tab 修改用户名密码,然后点击Run to Completion 如下图所示。
  5. 结果是正确地登录了博客园
 
安装
FiddlerScript
 
Rules---CustomizeRules
 
 
1,Fiddler设置捕获Https请求
Tool——Telerik Fiddler Options——Https——勾选“Capture Https Connects"   和 ” Decrypt Https traffic"   "Ignore server certificate errors(unsafe)"
2, FiddlerScript 
BeforeRequest 方法中:(https 转 http)
oSession.fullUrl=oSession.fullUrl.Replace(" https://172.16.102.82:443"," http://localhost:9045");
 oSession.fullUrl=oSession.fullUrl.Replace(" https://172.16.102.82"," http://localhost:9045");