gpt4 book ai didi

redirect - Fiddler:如何将路径从一个域重定向到另一个域

转载 作者:行者123 更新时间:2023-12-02 01:12:12 26 4
gpt4 key购买 nike

我想使用 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 connection is not private

Attackers might be trying to steal your information from pstatic.fo.local (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID



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

最佳答案

选项:

regex:https://pstatic.fo.local:8088/(.*) --> https://127.0.0.1:8088/$1



是正确的。

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

关于redirect - Fiddler:如何将路径从一个域重定向到另一个域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44735008/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com