更改提琴手代理服务器的用户名和密码 [英] 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 中的 Tools > 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.
这篇关于更改提琴手代理服务器的用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!