Changing username and password of fiddler proxy server

爷,独闯天下 提交于 2019-11-30 05:04:27

问题


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?

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...


回答1:


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.

This question was original asked and answered here: https://groups.google.com/forum/#!topic/httpfiddler/pErxaOtMlyc

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.

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.



来源:https://stackoverflow.com/questions/18259969/changing-username-and-password-of-fiddler-proxy-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!