更改Fiddler代理服务器的用户名和密码 [英] Changing username and password of fiddler proxy server
问题描述
我正在使用Fiddler设置代理服务器,但是在规则菜单下启用需要代理授权"时,用户名/密码始终为1.如何更改用户名/密码?
I'm using Fiddler to setup a proxy server, but when enabling "Require Proxy Authorization" under the rules menu the username/password is always 1. How do I change the username/password?
我尝试更改oSession ["X-AutoAuth"] ="username:password";但不会更改所需的代理凭据.
I tried changing oSession["X-AutoAuth"] = "username:password"; but it doesn't change the proxy credentials required.
在文档中找不到与此有关的任何内容...
Can't find anything in the documentation regarding this...
推荐答案
X-AutoAuth
标志与Fiddler在自动答复身份验证质询时向上游服务器发送的凭据有关.它对用户要求的凭据没有影响.
The X-AutoAuth
flag concerns what credentials Fiddler sends to an upstream server when automatically replying to an authentication challenge; it has no impact on what credentials are demanded of the user.
此问题最初是在此处提出并回答的: https://groups.google .com/forum/#!topic/httpfiddler/pErxaOtMlyc
This question was original asked and answered here: https://groups.google.com/forum/#!topic/httpfiddler/pErxaOtMlyc
您可以通过将首选项fiddler.proxy.creds
设置为base64编码的username:password
字符串来更改Fiddler期望的凭据.默认值为MToX
,它是字符串1:1
的base64编码版本.您可以使用Fiddler中的工具">"TextWizard"功能来计算所需的base64值.
You can change the credentials expected by Fiddler by setting the preference fiddler.proxy.creds
to the base64 encoded username:password
string. The default value is MToX
which is the base64 encoded version of the string 1:1
. You can compute the base64 value you need using the Tools > TextWizard feature in Fiddler.
要更新首选项,请单击Fiddler的"Web会话"列表下方的QuickExec框,然后键入prefs set fiddler.proxy.creds YOURBASE64StringHere
并按Enter.
To update the preference, click into the QuickExec box below Fiddler's Web Sessions list and type prefs set fiddler.proxy.creds YOURBASE64StringHere
and hit Enter.
这篇关于更改Fiddler代理服务器的用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!