Fiddler modification request packet capture

hi, when it comes to use fiddler, the first time think of capture, but there is a feature: support for modification request.

So the question is, how to do it? Very simple, we need to modify the first set which request.

Here do presentations with a F12 with fiddler.

First we crawl in F12 to request a verification code is sent, the goal is to modify his cell phone number, the system returns to see what.

F12 crawled normal successful request transmission codes:

We need to be copied to the fiddler's request [Composer]

F12 and then find the [network] interface, click [Headers], Request URL address is accessed, Request Method is a request method, there are GET and POST, get refers to enter the URL, post refers to the submission, enter this modes of operation. The difference is more obvious with parameters address the POST request.

Return to the topic, we can see that this request is POST, is parameterized in F12, parameters can be [Headers] in from data

Therefore, this information corresponds to the fiddler, is such that, as shown below: Select the POST method, because the method is POST, the URL is accessed, it is necessary to add parameters. English parameter is connected downstream of the plurality of parameters to use & such as:? Http: //www.xxxx.com/oerdd Parameter 1 = aaa & parameter 2 = bbb?

ps: If there is no method is GET parameters, so you can directly enter the URL.

 

Because our aim is to modify the phone number to see if you can send normal verification code, so directly modify the parameter value on it. Here we changed to 13,582,555. Then click [Execute], then the request has been launched after this modification.

After starting, Fiddler on the left of the area displayed crawled to a request.

Click on this request, Inspectors [click], the information which has two parts, the upper part is a request header, the lower part of the response information. We click on the response information [] TextView we can view the phone number entry error, the interface returns a prompt "Please enter the correct phone number."

This is the end of it! In fact, packet capture tools are similar, the principle is the same, only need to have one or two capture tool on it.

Guess you like

Origin www.cnblogs.com/lv-lxz/p/10973737.html
Recommended