Upload
zhi-zhong
View
2.396
Download
0
Embed Size (px)
Citation preview
Getting started with Fiddler
Introducing Fiddler
• Written in C# (.NET Framework v2.0)
• Freely available from
• HTTP/HTTPS Debugger
• Runs as a proxy server on the local machine or on a remote server
How does Fiddler work?
Internet Explorer
WinINET
Office
CryptoAPI WinHTTP
Fiddler
Firefox
CorpNET Proxy
example.com
Firewall
Debugging non-Windows clients
Fiddler InternetInternet
What can Fiddler do?
• HTTP/HTTPS traffic monitoring and analysis
• Request and response modification
• Timing and network manipulation
Monitor traffic
• Any device that supports a HTTP proxy• Process filter• Hide image request• Hide HTTPS CONNECTs• Hide 304 response• Filter• Find• Context menu select• QuickExec Box
QuickExec Box
• ?sometext
• >size
• <size
• =status
• =method
• @host
• select type
AutoResponser
• Creating your rules– String Literals– Exact Match– Regular Expressions– Set delay
• My Documents\Fiddler2\AutoResponder.xml
• +/-:reorder• delete:remove
Timeline
• Mime type color
• Color circle
• Buffering Mode vs. Streaming Mode
Buffering Mode/Streaming Mode
• Buffering Mode: modify the response before the client receives it
• Streaming Mode: return response bytes to the client immediately
Tools
• Host
• Simulate model speed
• Disable cache
• Text encoding/decoding
• GZIP Encoding
Addons
• Syntax-Highlighting
• JavaScript Formatter
• http://www.fiddler2.com/Fiddler2/extensions.asp
Customize Rules
• FiddlerScript(JScript.NET)
• Event base– onBeforeRequest– onBeforeResponse
• Auto loading
• Cutom command
• Baike Editor Demo
Demo: Debug online page
• http://fe.baidu.com/~zhongzhi/fiddler_demo/
More…
• http://www.fiddlertool.com/Fiddler2/