2017-06-24 57 views
0

我想使用Fiddler URL请求重定向来自: “https://pstatic.fo.local:8088/ .....”为“https://127.0.0.1:8088/ ......”提琴手:如何从一个域路径重定向到另一个

例如,对“https://servername:8088/hello/world/index.html”的请求将被重定向到“https://127.0.0.1:8088/hello/world/index.html”。

我看了下面的帖子: Fiddler: Creating an AutoResponse rule to map all calls to one host to another host

,我用规则编辑器来做到这一点重定向:

enter image description here

它没有成功。 我也试过:

正则表达式:https://pstatic.fo.local:8088/(.*) - >https://127.0.0.1:8088/ $ 1

正则表达式:https://pstatic.fo.local:8088/(.*) - >https://127.0.0.1:8088/ $ 0

每当我进入浏览器,输入: https://pstatic.fo.local:8088/hello/world/index.html

我得到的以下在浏览器中:

Your连接不是私人的

攻击者可能试图从 pstatic.fo.local(例如,密码,消息或信用卡)中窃取您的信息。 NET :: ERR_CERT_COMMON_NAME_INVALID

你知道我能做些什么来使它工作吗?

回答

0

选项:

正则表达式:(。*)https://pstatic.fo.local:8088/ - >https://127.0.0.1:8088/ $ 1

是正确的。

我必须这样做才能启用处理HTTPS请求的选项。 可通过以下方式完成: 工具 - > Telerik Fiddler Optoins - > HTTPS->勾选选项“Capture HTTPS CONNECTs”和“Decrypt HTTPS traffic”。

相关问题