1. 程式人生 > 其它 >Fiddler—過濾器(Filters)

Fiddler—過濾器(Filters)

1.啟用請求過濾功能

點選Filters->勾選Use Filters

2.設定過濾

Hosts  

 No Zone Filter 中包含:Show only Intranet Hosts     只顯示內網請求

                                       Show only Internet Hosts     只顯示外網請求

No Host Filter 中包含:  Hide the following Hosts        隱藏這些請求

                                       Show only following Hosts     只顯示這些請求請求

                                       Flag the followsing  Hosts      標記這些請求

在選擇完No Host Filter中的選項後,下方的輸入變為可用狀態,在其中輸入我們需要操作的ip地址或者域名,多個內容時用 ; 分隔

No Zone Filter和No Host Filter中的選項可以組合使用,例如:Show only Internet Hosts   Show only following Hosts(輸入框輸入:baidu.com)即為只顯示外網中的和baidu.com這個域名相關的請求。

Client Process

Show only tarffic from: 只顯示來自某個程序的請求  勾選後可以在右側下拉框中選擇當前電腦中的程序

Show only Internet Explorer tarffic: 只顯示 IE瀏覽器的請求

Hide tarffic from Severice Host : 隱藏來自service host(即由svchost.exe程序發出)的請求

Request Headers

Show only if URL contains:只顯示URL中包含的字串(字串可以是URL中的一部分,多部分用空格分開,可以正則或完整的URL),例如REGEX:\.(js|css|js\?.*|css\?.*)$(隱藏所有js和css請求);

Hide if URL contains:與Show only if URL contains相反,一個是顯示,一個是隱藏;

Flags requests with headers:支援指定某個http請求頭名稱,如果在web session列表中存在該請求頭,會加粗顯示該session;

Delete requests headers:與Flags requests with headers類似,這裡是如果包含該請求頭,則刪除該請求頭;

Set request header:將HTTP請求頭更新為所輸入的值。

 

搜尋

複製