Fiddler “The system proxy was changed,click to reenable fiddler capture”

来源:互联网 发布:人工智能硬件发展 编辑:程序博客网 时间:2024/05/16 09:31

解决办法:进入到Fiddler-->Rules-->Customize Rules

 

在main()方法上方添加

 
 
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); }

在main()方法中添加

FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);

 

 

原链接:https://www.telerik.com/forums/how-to-automatically-re-enable-fiddle-as-system-proxy

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

In CustomRules, add the following 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);
}

and inside the existing Main() function, add

  FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);
原创粉丝点击