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

相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息