This article is a mirror article of machine translation, please click here to jump to the original article.

View: 8660|Reply: 1

Fiddler replaces links, requests forwarding redirects

[Copy link]
Posted on 2021-2-20 15:23:41 | | | |
In the process of web front-end development, fiddler is the most commonly used debugging tool. In most cases, the functions of the fiddler default menu can basically meet the debugging needs of developers, but if you need to meet more complex debugging scenarios, you can no longer meet the debugging requirements of developers simply through the fiddler menu.

Review:

.NET/C# uses FiddlerCore4 to intercept and modify HTTP requests
https://www.itsvse.com/thread-9506-1-1.html

Resolved the issue that fiddler could not crawl local localhost, 127.0.0.1 network requests
https://www.itsvse.com/thread-9137-1-1.html

.NET/C# Developing Fiddler Tutorial [with Source Code]
https://www.itsvse.com/thread-5127-1-1.html

Fiddler4 plugin development tutorial
https://www.itsvse.com/thread-5123-1-1.html

Fiddler-AutoResponder regular matching example
https://www.itsvse.com/thread-4345-1-1.html

Add the IP address of the monitoring request to the fiddler
https://www.itsvse.com/thread-2905-1-1.html
Fiddler replaces HTTP Request Host

The replacement HTTP Request Host here is that all HTTP requests originally sent to a.com, Fiddler will forward them to b.com for you, and you will not feel them in the browser. This requirement is often found in the process of testing debugging, such as using www. dev.itsvse.com replacewww.itsvse.com

There are two ways to replace it, one is temporary and the other is permanent.

The temporary method is to type in the bottom left corner of Fiddler:




Press Enter to do so.

To clear forwarding, enter in the same place:

Press Enter to do so.

The permanent way to do this is to modify Fiddler's Customize Rules:

Click on rules → Customize Rules → find "OnBeforeRequest" → Add code (code below)




Resources:

The hyperlink login is visible.




Previous:EF Core Series (5) executes SQL statements or views, stored procedures
Next:ValidateAntiForgeryToken and AutoValidateAntiforgeryToken anti-counterfeiting tags are explained in detail
 Landlord| Posted on 2021-2-20 15:25:58 |
You can also click on FiddlerScript, as follows:


Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com