Fiddler's common shortcut keys for Fiddler packet capture tool

1. Commonly used three shortcut keys

ctrl+X: Clear all records
Ctrl+F: Find
F12: Start or stop capture

Using QuickExec
Fiddler2 has become an essential tool for web page debugging, capturing packets to view data. Fiddler2 comes with command line control.
Fiddler command line shortcut key: ctrl + q, and then enter the help command to open a web page, you can view the command help of fiddler

Keyboard shortcuts
Press ALT+Q to quickly position the focus on the shortcut command box. If Fiddler is not active (running in the background), press Ctrl+Alt+F to activate Fiddler first (switch to the Fiddler panel)
In the QuickExec box, press CTRL+I to insert the URL of the currently selected session in the session list

Two, the default command

?sometext: When you type some string, such as sometext, Fiddler will highlight requests that contain sometext in the URL where the session is located.
Pressing Enter at this point will highlight all matching sessions. ?searchtext

size [ <size ] : Select sessions for which the requested response size is greater than [less than] size bytes.
Example: >40000 // Select responses with a size greater than 40kb
Example: <5k // Select responses smaller than 5kb
=status, =method : Select sessions with response status=status or request method=method.
Example: =301 // select 301 redirect response
Example: =POST // select the request of POST mode
@host : Select the session whose domain name contains host in the session, and press the Enter key to highlight all matching results.
Example: @baidu.com // select www.baidu.com, map.baidu.com etc.
bold: pre-set session bold: Marks any subsequent requests where the URL contains the target string. Type bold again without any arguments to unset it.
Example: bold/index.php
Example: bold // call the command without any arguments to clear the last setting
bpafter: (the server receives the request, then responds, fiddle receives the response, and breaks when it is not forwarded to the client) Create a response breakpoint.
Set interrupts any response that contains the specified string in the Request's URI. Enter bpafter again without any parameters to unset.
Example: bpafter /favicon.ico
Example: bpafter // unset
bps : Interrupt responses that match the set status code. Example: bps 404 Example: bps // Unset.
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 arguments disables breakpoints
Example: bpv POST Example: bpv //Cancel setting
bpu : Create a request breakpoint on a URI containing the specified string. Setting this command clears any previous value for the command, and calling it with no arguments disables breakpoints.
(fiddle receives the request and does not forward it to the server, breakpoint). Example: bpu /index.php Example: bpu //Cancel setting
cls or clear : Clear the session list
dump: Pack all sessions into a zip archive and save in C:
g or go : resume all sessions with breakpoints set
help : Open the help page (that is, the English version of this article)
hide : hide the Fiddler interface, and the system runs in the background
urlreplace: Replace any string in the URL with a different string.
Setting this command will clear any previous value for the command, calling it with no arguments will cancel the replacement
Example: urlreplace SeekStr ReplaceWithStr
Example: urlreplace // cancel setting
start : Register as a system agent
stop : cancel the system proxy
show : Restore Fiddler from the system tray, get more useful trigger rules from ExecAction.exe
select MIME: Select the response containing the specified string in the Content-Type header, which can be used to select the file format, etc.
示例:select image、select css、select htm
select HeaderOrFlag PartialValue : Selects responses whose 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 or only display all sessions except those containing the specified string in the Content-Type header, used to filter sessions.
Examples: allbut html, allbut java
quit : quit Fiddler
!dns hostname : Do a DNS lookup of the target domain name and display the result on the LOG tab.
!dns www.baidu.com
!nslookup www.baidu.com
!listen PORT [CERTHOSTNAME] : Add a listener on another port and select a secure HTTPS certificate.
!listen 8889
!listen 4443 localhost
!listen 444 secure.example.com

Command corresponding English explanation:
fiddler command help: QuickExec Reference - Fiddler Classic

3. Breakpoint request

Shortcut key for breakpoint

Use the QuickExec command to breakpoint
Enter the command bpu  www.baidu.com in QuickExec, intercept Baidu, modify the request, enter bpu to cancel the interception, enter
the command bpafter  www.baidu.com in QuickExec , intercept Baidu, modify the response, enter bafterer to cancel the interception

Practical case

Optical theory is useless, you have to learn to follow along, and you have to do it yourself, so that you can apply what you have learned to practice. At this time, you can learn from some actual combat cases.

If it is helpful to you, please like and collect it to give the author an encouragement. It is also convenient for you to quickly find it next time.

If you don’t understand, please consult the small card below. The blogger also hopes to learn and progress with like-minded testers

At the right age, choose the right position, and try to give full play to your own advantages.

My road of automated test development is inseparable from the plan of each stage along the way, because I like planning and summarizing,

Test and develop video tutorials, study notes and receive portals! ! !

Guess you like

Origin blog.csdn.net/Liuyanan990830/article/details/131333424