2017-05-04 52 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"; 
    } 
} 
相关问题