zoukankan      html  css  js  c++  java
  • Fiddler显示服务器IP的方法(转)

    Fiddler默认配置中是看不到服务器IP的,接下来简单介绍下在fiddler上也能够看到请求的服务器IP:

    1、Fiddler---》Rules---》Customize Rules ,

    2、在CustomRules.js里搜索找到:static function Main() ,

    3、添加如下一行脚本:

    FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP", 120, "X-HostIP");  

    完整js代码如下:

    复制代码
    static function 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。

  • 相关阅读:
    ui5 call view or method from another view
    vuejs helloworld
    vuejs v-model
    vuejs v-bind
    vuejs on
    vuejs fatherandson
    vuejs scope
    vuejs keep-alive
    VLAN虚拟局域网
    网线的制作
  • 原文地址:https://www.cnblogs.com/banml/p/10729441.html
Copyright © 2011-2022 走看看