Tag Archives: fiddler

Problems encountered by Fiddler packet capture tool

What are the eight life cycle hook functions of Vue>>>

problems encountered :

Open the browser, enter the BugFree of the virtual machine address of this machine, and you will be prompted that you cannot connect

[Fiddler] The connection to ‘192.168.211.128’ failed.

Error: ConnectionRefused (0x274d).

System. Net. Sockets. Socketexception cannot connect because the target computer actively refuses. 192.168.211.128:80

At this time, I did not use Fiddler to capture packets and restart the virtual machine, but the same error was reported; So restart the browser, restart the computer does not help. Open the fiddler packet capture tool and report 502 error

After checking the HTTP status code on the Internet, the status code of 502 is: when the server working as a gateway or agent tries to execute the request, it receives an invalid response from the upstream server. That is, the network connection failed

solutions :

Method 1: the solution comes from the Internet, so I immediately try to modify it: in the filler options, remove the check in front of the option enable IPv6 (if available),

The specific path is tools – > Fiddler Options -> General -> Enable IPv6(if avaible)

However, the problem has not been solved after a meal of operation, and we continue to look for solutions:

Method 2: modify the hosts file and remove the comments in front of 127.0.0.1 localhost. The path to the hosts file is as follows:

C:\Windows\System32\drivers\etc\hosts

In this way, the problem is solved, and you can log in again.

Refer to the above methods

“ https://www.cnblogs.com/0weibin/p/3900240.html ”

3. Found that the problem has not been completely solved, after two days, the same problem still appeared, continue to find a way to solve….

Looking at the reference article again, I found that the biggest difference between me and the author was that although I didn’t open fiddler, my browser couldn’t access my virtual machine’s BugFree, so I went through the document “why can’t I log in to * *”, and found the problem. It turned out that my lampp didn’t start up…, which finally solved the problem.

[tran] tunnel to… 443 appears when Fiddler grabs packets

After chopping hands, the fraud call came before the express delivery was received. How to improve the privacy and security of e-commerce>>>

Transfer:

1. When crawling the packet of HTTPS, the fiddler session column will display the message “tunnel to… 443”. What is the reason
connect refers to the handshake of HTTPS (that is, authentication information, as long as it is HTTPS), as long as it is not full of tunnel to… 443, there is no problem. We can choose to hide this kind of information
Hide method: select Hide connections from menu bar => rules =. You can hide it

2. To decrypt the HTTPS traffic, you need to install a certificate on the mobile device
Android、IOS:

1. Open Fiddler on PC

2. Set the agent on the mobile terminal, and enter http:// [fiddlerserver]: [port]/fiddleroot.cer( http://192.168.1.121 :8888/FiddlerRoot.cer)

3. Automatically download fiddlerroot.cer certificate

4. Enter settings – advanced settings – security – install certificate from SD card – select fiddleroot.cer – install to prompt successful installation

5. OK

3. PC terminal

1. Delete the previous certificate: open the system certificate manager (run => certmgr. MSc => Enter), and then the manager appears to delete the certificate you generated before

2. A new certificate was typed with a tool called “fiddlercertmaker. Exe”. You can download it here( After the download is successful, double-click to run it directly.)

3. Re open fiddler and use Chrome/IE to input https://www.baidu.com/ This time, you can capture the message of HTTPS and decrypt it successfully

4. Use IOS to remotely connect Fiddler’s proxy address. After the certificate is successfully installed online, use native browser to access it“ https://www.baidu.com/ ”, Fiddler successfully grabs the data of HTTPS

5. When Fiddler grabs the web page of chrome, it may prompt that the connection is unsafe and cannot be used. Install the plug-in switchysharp on chrome, and select general settings – check quick switch – use system proxy settings – OK in the plug-in. Because Fiddler will automatically set a proxy 127.0.0.1 port 8888 to the browser and remember the proxy settings of the browser, all requests go through Fiddler proxy first and then browser proxy. If the plug-in is used, the fiddler agent may be directly blocked, so the request cannot be monitored

4. Others

1. Chrome and IE use a system proxy, while Firefox uses an independent proxy system, so no matter whether the “capturing” switch of fiddler is turned on or not, it can’t capture the request of the browser. We need to set the proxy settings of foxbrowser as system proxy or configure it as manual proxy“

2. The certificate management system used by Firefox is also an independent system, while chrome and IE use the certificate agent of the system. So if we want to use Fiddler to capture the data packet of HTTPS in the browser, we need to export the root certificate of fiddler to the desktop, and then import it into the certificate of firebox. When we use chrome and ie, we don’t need to import or export the certificate, because Fiddler’s certificate is installed in the system’s certificate management

3. If there is a problem with the certificate when using fiddler, you can try to use “fiddlercertmaker. Exe” to type the certificate again

4. If you can’t get the data by using Android or IOS, and if you can’t install “fiddlercertmaker. Exe” on your computer, try another plug-in of fiddler, “certmaker
for IOS and Android”, which can be downloaded from the official website