2017-06-24 58 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」。

相關問題