2017-05-04 56 views
0

我知道您可以選中「自動驗證」複選框,但使用當前登錄的用戶憑證。我正在訪問不同AD域中的服務器,並需要提供不同的憑據。如何將Windows Fiddler與Windows身份驗證一起使用?

所以我登錄mydomain/myusername但我需要用來訪問此服務器的憑據是serverdomain/serverusername。我的筆記本電腦無法登錄爲serverdomain\serverusername。在Fiddler的某個地方,我可以輸入我想要的憑據嗎?

回答

0

Fiddler manual

static function OnBeforeRequest(oSession: Session) { 
    // To use the current Fiddler user's credentials: 
    if (oSession.HostnameIs("ServerThatDemandsCreds")) { 
     oSession["x-AutoAuth"] = "(default)"; 
    } 

    // or, to use explicit credentials... 
    if (oSession.HostnameIs("ServerUsingChannelBinding")) { 
     oSession["x-AutoAuth"] = "redmond\\ericlaw:[email protected]$$w0rd"; 
    } 
} 
相關問題