Fiddler默认配置中是看不到服务器IP的,接下来简单介绍下在fiddler上也能够看到请求的服务器IP:
1、Fiddler---》Rules---》Customize Rules ,(不要点击yes,点击no,点击yes跳转链接)
2、在CustomRules.js里搜索找到:static function Main() ,
3、添加如下一行脚本:
FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP",120,"X-HostIP");
完整js代码如下:
staticfunction Main() {
var today: Date = new Date();
FiddlerObject.StatusText =" CustomRules.js was loaded at: "+ today; // Uncomment to add a "Server" column containing the response "Server" header, if present FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP",120,"X-HostIP");
}
添加完成后,重启下fiddler,就可以显示出请求的服务器ip