Fiddler (六) 最常用的快捷鍵
使用QuickExec
Fiddler2成了網頁除錯必備的工具,抓包看資料。Fiddler2自帶命令列控制,並提供以下用法。
Fiddler的快捷命令框讓你快速的輸入指令碼命令。
鍵盤快捷鍵
按ALT+Q課迅速將焦點定位到快捷命令框。若Fiddler不在活躍狀態(後臺執行),可按Ctrl+Alt+F先行啟用Fiddler(切換至Fiddler面板)
在QuickExec框,按CTRL + I插入會話列表中當前選定的會話的URL
預設命令
?sometext
當您鍵入一些字串,如sometext ,Fiddler將突出會話所在的URL中包含sometext的請求 。此時按Enter鍵將高亮選中所有匹配的會話
1 | ?searchtext |
選擇請求響應大小大於size位元組的會話
1 | >40000 //選擇大小超過40kb的響應 |
<size
選擇請求響應大小小於size位元組的會話
1 | <5k //選擇小於5kb的響應 |
=status、 =method
選擇響應狀態=status 或請求方法=method的會話
1 2 | =301 //選擇301重定向響應 =POST //選擇POST方式的請求 |
@host
選擇會話中域名包含host的會話,此時按Enter鍵可高亮所有匹配的結果
1 | @baidu.com //選擇 www.baidu.com, map.baidu.com, 等等 |
bold
預先設定會話加粗:標記任何URL包含了目標字串的後續請求
tip:再次輸入bold取消設定
1 2 | bold /index.php bold //呼叫不帶任何引數的命令來清除上一設定 |
bpafter
設定中斷RequestURI中包含指定字串的任何響應
tip:再次輸入bpafter取消設定
1 2 | bpafter /favicon.ico bpafter //取消設定 |
bps
中斷與設定的狀態程式碼匹配的響應
1 2 | bps 404 bps //取消設定 |
bpv or bpm
對指定的HTTP方法建立請求斷點。設定此命令將清除該命令的任何以前的值,不帶引數呼叫它會禁用斷點
1 2 | bpv POST bpv //取消設定 |
bpu
對包含指定字串的URI建立請求斷點。設定此命令將清除該命令的任何以前的值,不帶引數呼叫它會禁用斷點
1 2 | bpu /index.php bpu //取消設定 |
cls or clear
清空會話列表
1 | cls |
dump
打包所有會話成zip歸檔檔案並轉存在C:\
1 | dump |
g or go
恢復所有設定斷點的會話
1 | g |
help
開啟幫助頁面(即本文英文版)
1 | help |
hide
隱藏Fiddler介面,系統後臺執行
1 | hide |
urlreplace
以一個不同的字串替換URL中任何字串。設定此命令將清除該命令的任何以前的值,不帶引數呼叫它,將取消更換
1 2 | urlreplace SeekStr ReplaceWithStr urlreplace //取消設定 |
start
註冊成為系統代理
1 | start |
stop
取消註冊為系統代理
1 | stop |
show
將Fiddler從系統托盤中恢復,從ExecAction.exe獲取更多有用的觸發規則
1 | show |
select MIME
選擇Content- Type頭中包含指定字串的響應,可用於選擇檔案格式等
1 2 3 | select image select css select htm |
select HeaderOrFlag PartialValue
選擇已命名的header或SessionFlag包含指定字串的響應
1 2 3 4 5 | select ui-comments slow select ui-bold * <-- unless preceded by a slash, * 表示任意值 select ui-comments \* <-- Find comments with a * 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頭中除了包含指定字串的所有會話,用於篩選
1 2 | allbut html allbut java |
quit
退出Fiddler
1 | quit |
!dns hostname
進行目標域名的DNS查詢,並將結果顯示在LOG選項卡上
1 2 | !dns www.baidu.com !nslookup www.baidu.com |
!listen PORT [CERTHOSTNAME]
在另一個埠增設一個監聽器,選擇安全的HTTPS證書
1 2 3 | !listen 8889 !listen 4443 localhost !listen 444 secure.example.com |
附:
Command | Action | Sample usage |
---|---|---|
?sometext | As you typesometext, Fiddler will highlight sessions where the URL containssometext. Hit Enter to set focus to the selected matches. | ?searchtext |
>size | Select sessions where response size is greater thansize bytes. | >40000 <-- Select responses over 40kb |
<size | Select sessions where response size is less thansize bytes. | <5k <-- Select responses under 5kb |
=status =method |
Select sessions whereresponse status =status orrequest method =method. | =301 <-- Select 301 redirect responses =POST <-- Select POST requests |
@host | 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 | Mark any future sessions in bold if the url contains the target string | bold /bar.aspx
bold <-- Call with no parameter to clear |
bpafter | Break any response where the RequestURI contains the specified string | bpafter /favicon.ico
bpafter <-- Call with no parameter to clear |
bps | Break any response where the status code matches | bps 404
bps <-- Call with no parameter to clear |
bpv or bpm | 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 with no parameter to clear |
bpu | 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 with no parameter to clear |
cls or clear | clear the session list | cls |
dump | dump all sessions to a zip archive in C:\ | dump |
g or go | Resume all breakpointed sessions | g |
help | show this page | help |
hide | Hide Fiddler in System tray | hide |
urlreplace | 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 with no parameters to clear |
start | Register as the system proxy | start |
stop | Unregister as the system proxy | stop |
show | Restore Fiddler from system tray -- more useful when triggering rules from ExecAction.exe (see below) | show |
select MIME | Select any session where the response Content-Type header contains the specified string. | select image
select css select htm |
selectHeaderOrFlagPartialValue | Select any session where the named Header or SessionFlag contains the specified string. | select ui-comments slow select ui-bold * <-- unless preceded by a slash, * means any value select ui-comments \* <-- Find comments with a * 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 | Hide all sessions except those where Content-Type header contains the specified string. | allbut xml
allbut java |
quit | Shutdown Fiddler. | quit |
!dns hostname | 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] | Set up an additional listener on another port, optionally secured by a HTTPS certificate | !listen 8889 !listen 4443 localhost !listen 444 secure.example.com |
附: Fiddler 系列教程, (連載中, 敬請期待)
相關推薦
Fiddler (六) 最常用的快捷鍵
使用QuickExec Fiddler2成了網頁除錯必備的工具,抓包看資料。Fiddler2自帶命令列控制,並提供以下用法。 Fiddler的快捷命令框讓你快速的輸入指令碼命令。 鍵盤快捷鍵 按ALT+Q課迅速將焦點定位到快捷命令框。若Fiddler不在活躍狀態(後臺執行),可按Ctrl+Alt+F先
IntelliJ Idea 最常用快捷鍵
輸入 todo log clas 搜索 開頭 父類 ack 沖突 Ctrl+Shift + Enter,語句完成“!”,否定完成,輸入表達式時按 “!”鍵Ctrl+E,最近的文件Ctrl+Shift+E,最近更改的文件Shift+Click,可以關閉文件Ctrl+[ OR
mac+chrome 最常用快捷鍵
內容 The ctr alt alt+ 方向鍵 一個 ade 常用 12個mac快捷鍵 命令 含義 command+空格 (先摁command再摁空格) Spotlight搜索 crt+command+F 最大化和關閉最大化切換 Command+H 隱
PHPStorm使用之六(常用快捷鍵)
PHPStorm常用快捷鍵 常用快捷鍵 使用說明 Shift + Shift 全域性搜尋class function ctrl + shift + N
IDEA最常用快捷鍵及配置步驟
之前一直用Eclipse開發工具,其中唯一不好的就是專案多了就會卡;最近,也是公司要求,統一使用IDEA開發工具,所以下面對使用IDEA時最常用快捷鍵及配置做以下總結。 安裝 官網下載即可:https://www.je
Visual Studio 最常用快捷鍵 程式碼提示-強迫智慧感知 類似Eclipse的Alt+'/'快捷鍵
如果你經常使用Visual Studio 2008開發程式,下面13個最常用快捷鍵 你一定很熟悉。 1. F5:啟動除錯 2. F7 /Shift-F7:顯示程式碼視窗或顯示設計器視窗 3.Alt-Enter:顯示選中物件的屬性(這是個常用的windows快捷鍵,可以用顯示目錄和檔案的屬性)
IntelliJ Idea 常用快捷鍵最全的集合
轉載:http://my.oschina.net/dyyweb/blog/494504 IntelliJ Idea 常用快捷鍵 列表(實戰終極總結!!!!) 1. -----------自動程式碼-------- 常用的有fori/sout/psvm+Tab即可生成迴圈、
code::block 常用快捷鍵 (最常用)【搬運】
==日常編輯== • 按住Ctrl滾滾輪,程式碼的字型會隨你心意變大變小。 • 在編輯區按住右鍵可拖動程式碼,省去拉(尤其是橫向)滾動條之麻煩;相關設定:Mouse Drag Scrolling。 • Ctrl+D可複製當前行或選中塊。 • Ctrl+Shift+C註釋掉當
VS2012常用快捷鍵最全面整理
(1)如何設定更改快捷鍵 1.進入工具----選項 對話方塊 2.選擇 環境---->鍵盤 3.在 【顯示命令包含】 下面的對話方塊中輸入“對齊”關鍵字,然後就會在這個編輯框下面一個文字視窗中顯示關於“對齊”一系列 的“某某對齊”操作命令,選中你想檢視
VS 常用快捷鍵最全面整理
.NET 工程師 必備的提高開發效率的快捷鍵。 -------------------------------------------------------------------------------------常用的---------------------
IntelliJ IDEA常用快捷鍵小結
導入 ... 調用 ins 函數 隱藏 文檔 提示 alt+ IntelliJ Idea 常用快捷鍵列表 Ctrl+Alt+t 選擇代碼塊 try catch Alt+回車 導入包,自動修正Ctrl+N 查找類Ctrl+Shift+N 查找文件Ctrl+Alt+L 格
圖解phpstorm常用快捷鍵
資源管理 文檔 有效 更新 對話框 實現 循環 復制文件 自動 查詢快捷鍵 CTRL+N 查找類 CTRL+SHIFT+N 全局搜索文件 ,優先文件名匹配的文件 CTRL+SHIFT+ALT+N 查找php類名/變量名 ,js方法名/變量名, css 選擇器
IntelliJ Idea 常用快捷鍵列表
title cat 文件中查找 ctr 切換 模式 定位 ace 自動補全 http://www.cnblogs.com/zhangpengshou/p/5366413.html IntelliJ Idea 常用快捷鍵列表 【調試部分、編譯】Ctrl+F2,停止Al
IntelliJ IDEA 常用快捷鍵
快捷鍵 idea IDEA常用快捷鍵列表查找、替換字符: Ctrl + F 在當前文件進行文本查找 Ctrl + R 在當前文件進行文本替換 F3 在查找模式下,定位到下一個匹配處 F11 添加書簽 Ctrl + Shift + F 根據輸入內容查找整個項目 或
photoshop最全快捷鍵列表
iss 素數 復制 tar 隱藏 內存 保存 捕捉 targe 一、工具箱(多種工具共用一個快捷鍵的可同時按【Shift】加此快捷鍵選取) 矩形、橢圓選框工具 【M】 移動工具 【V】 套索、多邊形套索、磁性套索 【L】 魔棒工具 【W】 裁剪工具 【C】 切片工具、切片選
Spyder編輯器常用快捷鍵
tro lsp spa 函數定義 一行 f11 查找 -- point 下面總結一些常用的Spyder快鍵鍵,便於大家查詢。 功能 快鍵鍵 塊註釋/取消 Ctrl+4/5 註釋/取消 Ctrl+1 復制一行 Ctrl+Alt
eclipes常用快捷鍵
快捷鍵 一行 類結構 命名 class 文本 本地變量 代碼 快速 Eclipes快捷鍵 alt + / 代碼補全,自動提示 ctrl + o 顯示類中的方法屬性,再按一次ctrl + o,顯示更多的變量 ctrl + d 刪除當前行 ct
Iterms2 常用快捷鍵
剪切板 content save 常用快捷鍵 ast man 下載 rm2 enc 整理使用 iTerm 2 過程中得常用快捷鍵,Mac 原來自帶的終端工具 Terminal 不好用是出了名的,雖然最近幾個版本蘋果稍微做了些優化,功能上,可用性方面增強不少,無奈有個更好用的
vim 常用快捷鍵(整理版)
同時 包括 記錄 any syntax noi use clas string 最常用: x 刪除後面的字符 X 刪除前一個字符 刪除3個字符就是3x dd:刪除一行 D 刪除到行尾 J:刪除換行符,使下一行並上來。 nJ:連接後面的n行 u
Eclipse最全快捷鍵
del 記錄 類型 lips dea 輸入法 菜單 重構 ctrl+v Ctrl+1 快速修復(最經典的快捷鍵,就不用多說了)Ctrl+D: 刪除當前行 Ctrl+Alt+↓ 復制當前行到下一行(復制增加)Ctrl+Alt+↑ 復制當前行到上一行(復制增加)Alt+↓ 當前