15
Getting started with Fiddler 钟钟 [email protected]

Getting started with fiddler

Embed Size (px)

Citation preview

Page 1: Getting started with fiddler

Getting started with Fiddler

钟志[email protected]

Page 2: 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

Page 3: Getting started with fiddler

How does Fiddler work?

Internet Explorer

WinINET

Office

CryptoAPI WinHTTP

Fiddler

Firefox

CorpNET Proxy

example.com

Firewall

Page 4: Getting started with fiddler

Debugging non-Windows clients

Fiddler InternetInternet

Page 5: Getting started with fiddler

What can Fiddler do?

• HTTP/HTTPS traffic monitoring and analysis

• Request and response modification

• Timing and network manipulation

Page 6: Getting started with fiddler

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

Page 7: Getting started with fiddler

QuickExec Box

• ?sometext

• >size

• <size

• =status

• =method

• @host

• select type

Page 8: Getting started with fiddler

AutoResponser

• Creating your rules– String Literals– Exact Match– Regular Expressions– Set delay

• My Documents\Fiddler2\AutoResponder.xml

• +/-:reorder• delete:remove

Page 9: Getting started with fiddler

Timeline

• Mime type color

• Color circle

• Buffering Mode vs. Streaming Mode

Page 10: Getting started with fiddler

Buffering Mode/Streaming Mode

• Buffering Mode: modify the response before the client receives it

• Streaming Mode: return response bytes to the client immediately

Page 11: Getting started with fiddler

Tools

• Host

• Simulate model speed

• Disable cache

• Text encoding/decoding

• GZIP Encoding

Page 12: Getting started with fiddler

Addons

• Syntax-Highlighting

• JavaScript Formatter

• http://www.fiddler2.com/Fiddler2/extensions.asp

Page 13: Getting started with fiddler

Customize Rules

• FiddlerScript(JScript.NET)

• Event base– onBeforeRequest– onBeforeResponse

• Auto loading

• Cutom command

• Baike Editor Demo

Page 15: Getting started with fiddler

More…

• http://www.fiddlertool.com/Fiddler2/