Fiddler

 

https://www.telerik.com/forums/how-to-automatically-re-enable-fiddle-as-system-proxyhtml

https://www.cnblogs.com/TankXiao/archive/2012/02/06/2337728.htmlfrontend

 

问题:【The system proxy was changed.Click to reenable capturing.】ide

解决:Reattaching Fiddler automatically is perilous for a bunch of reasons, but yes, it's technically possible to observe changes in the proxy setting for the current user and reattach if they change.spa

In CustomRules, add the following code:code

static function DoReattach(o: Object, ea: EventArgs)
{
   ScheduledTasks.ScheduleWork("reattach", 1000, innerReattach);
}

static function innerReattach()
{
   FiddlerApplication.UI.actAttachProxy();
}

static function OnRetire()
{
   FiddlerApplication.oProxy.remove_DetachedUnexpectedly(DoReattach);
}htm

and inside the existing Main() function, add:

  FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);blog

相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息