The method of fiddler domain name redirection

 The method to replace only the domain name host

1入口:Ruls->Customize Rules...  此时打开了customrules.js窗口

2在窗口中找到OnBeforeRequest方法
添加如图代码


a重定向到b

a,b为域名


if (oSession.host=="a"){
	oSession.host="b"
	}
	if (oSession.host=="short.bi.cn"){
	oSession.host="short.ttt.cn"
	}

Guess you like

Origin blog.csdn.net/weixin_42550871/article/details/120957824