【问题标题】:Fiddler: How to redirect paths from one domain to anotherFiddler:如何将路径从一个域重定向到另一个域
【发布时间】:2017-11-27 20:02:29
【问题描述】:

我想使用 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

我使用规则编辑器来做这个重定向:

它没有成功。 我也试过:

正则表达式: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

我在浏览器中得到以下信息:

您的连接不是私密的

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

你知道我可以做些什么来让它工作吗?

【问题讨论】:

    标签: redirect https fiddler


    【解决方案1】:

    选项:

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

    是正确的。

    我必须做的是启用处理 HTTPS 请求的选项。 可以通过以下方式完成: 工具-> Telerik Fiddler Optoins -> HTTPS-> 勾选“捕获 HTTPS 连接”和“解密 HTTPS 流量”选项。

    【讨论】:

      猜你喜欢
      • 2011-03-02
      • 2014-08-28
      • 1970-01-01
      • 2010-10-27
      • 2012-06-10
      • 2013-05-18
      • 2015-08-20
      • 2023-03-11
      • 2020-05-04
      相关资源
      最近更新 更多