Fiddler使用Tips3-控制臺命令(來自官網)

Default commands

?sometext ? ? ?--標記(高亮)包含此文字的session

As you type sometext, Fiddler will highlight sessions where the URL contains sometext. Hit Enter to set focus to the selected matches.

?searchtext

>size ? ? ? ? ? ? ? --選擇響應內容大于具體size(bytes)的session

Select sessions where response size is greater than size bytes.

>40000 ? ? ? ? ? ? ? ? <--Selectresponses over40kb

Also: ??

Select sessions where response size is less than size bytes.

<5k ? ? ? ? ? ? ? ? ? ? ? <-- Select responses under 5kb

=status ? ? ? ? --選擇對應響應碼的session

=method ? ? ? --選擇對應請求方式的session(get、post、put、option...)

Select sessions where response status = status or request method = method.

=301 ? ? ? ? ? ? ? ? ? ? ? ?<--Select 301redirect responses

=POST ? ? ? ? ? ? ? ? ? ?<--Select ?POST requests

@host? ? ? ? ? --選擇請求包含對應host的session

Select sessions where the request host contains host. Hit Enter to set focus to the selected matches.

@msn.com ? ? ? ? ? ? ? <--Select ?www.msn.com,login.msn.com,etc

bold? ? ? ? ? ? ? --根據請求URI中包含的字符串,將未來的session加粗顯示

Mark any future sessions in bold if the url contains the target string

bold /bar.aspx

bold ? ? ? ? ? ? ? ? ? ? ? ? ? <--Call withnoparameter to clear(不帶參數時,清除此功能)

bpafter? ? ? ? ? --根據請求URI中包含的字符串,將未來的session的響應進行斷點

Break any response where the RequestURI contains the specified string

bpafter /favicon.ico

bpafter ? ? ? ? ? ? ? ? ?<--Call withnoparameter to clear(不帶參數時,清除此功能)

bps ? ? ? ? ? ? ? ? ??--根據響應的狀態碼,將未來的session的響應進行斷點

Break any response where the status code matches

bps 404? ? ? ? ? ? ? ? ? ? ??

bps ? ? ? ? ? ? ? ? ? ?<--Call withnoparameter to clear(不帶參數時,清除此功能)

bpv?or?bpm? ? ? ? ? ? --根據請求方式(POST、GET...),將未來的session的請求進行斷點

Create a request breakpoint for the specified HTTP method. Setting this command will clear any previous value for the command; calling it with no parameter will disable the breakpoint.

bpv POST

bpv? ? ? ? ? ? ? ? <--Call withnoparameter to clear(不帶參數時,清除此功能)

bpu? ? ? ? ? ? ? ? ? ? --根據請求方式(POST、GET...),將未來的session的請求進行斷點

Create a request breakpoint for URIs containing the specified string. Setting this command will clear any previous value for the command; calling it with no parameter will disable the breakpoint.

bpu /myservice.asmx

bpu? ? ? ? ? ? ? ? <--Call withnoparameter to clear(不帶參數時,清除此功能)

cls?or?clear ? ? ? ? ? ?--清除sesssion列表

clear the session list

dump ? ? ? ? ? ? ? ? ? ? ? ? --導出所有的session 為zip到c盤

dump all sessions to a zip archive in C:\

dump

g?or?go ? ? ? ? ? ? ? ? ? ? ? --釋放所有斷點

Resume all breakpointed sessions

g

go

help

Show this page

help

hide? ? ? ? ? ? ? ? ? ? ? --隱藏fiddler到系統托盤中

Hide Fiddler in System tray

hide

show

urlreplace ? ? ? ? ?--替換所有url中的某個字符串為另一個字符串

Replace any string in URLs with a different string. Setting this command will clear any previous value for the command; calling it with no parameter will cancel the replacement.

urlreplace SeekStr ? ?ReplaceWithStr

urlreplace? ? ? ? ? ? ? <--Call withnoparameters to clear(不帶參數時,清除此功能)

start ? ? ? ? ? ? ? ? ? ? ?--將fiddler注冊為系統代理

Register as the system proxy

start

stop? ? ? ? ? ? ? ? ? ? ? --取消將fiddler注冊為系統代理

Unregister as the system proxy

stop

show ? ? ? ? ? ? ? ? ? ??--從系統托盤中恢復顯示fiddler,在使用ExecAction.exe的觸發規則時更有用

Restore Fiddler from system tray -- more useful when triggering rules from ExecAction.exe (see below)

select?MIME? ? ? ? ? --根據響應頭Content-Type中包含的內容選擇Session

Select any session where the response Content-Type header contains the specified string.

select image

select css

select htm

select?HeaderOrFlag PartialValue? ? ? ? ? ? ? --根據Header或者SessionFlag中包含的內容選擇Session

Select any session where the named Header or SessionFlag contains the specified string.

select ui-comments slow? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <-- 選擇 comments 包含slow的session

select ui-bold * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<-- 選擇加粗的session

select @Request.Accept html ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <-- Find requests with Accept: html

select @Response.Set-Cookie domain ? ? ? ? ? ? ? ? ? ?<- Find responses that Set-Cookie on a domain

allbut?or?keeponly? ? ? ? ? ? ? ? ? ? ? --只顯示響應頭Content-Type中包含指定字符串的session

Hide all sessions except those where Content-Type header contains the specified string.

allbut xml

allbut java

quit ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? --關閉fiddler

Shutdown Fiddler.

quit

!dns hostname ? ? ? ? ? ? ?查找DNS,并將結果顯示在log界面

Perform a DNS lookup of the target host and show the results on the LOG tab

!dns www.example.com

!nslookup www.example.com

!listen?PORT [CERTHOSTNAME]? ? ? 監聽一個額外端口,可選參數為HTTPS certificate的Host

Set up an additional listener on another port, optionally secured by a HTTPS certificate

!listen 8889

!listen 4443 localhost

!listen 444 secure.example.com

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容