Fiddler
https://www.telerik.com/forums/how-to-automatically-re-enable-fiddle-as-system-proxy
https://www.cnblogs.com/TankXiao/archive/2012/02/06/2337728.html
问题:【The system proxy was changed.Click to reenable capturing.】
解决: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.
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);
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步