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

View: 10694|Reply: 1

Fiddler-AutoResponder regular matching example

[Copy link]
Posted on 12/11/2017 11:57:31 AM | | | |

Fiddler is a good listening analysis tool, and it has a flash of inspiration, hijacking the js of some websites to achieve some special functions, so let's introduce this part of the automatic response.
In the Rule Editor, the first line is to write the rules, and it is more appropriate to use regular matching, for example:
To match: http://127.0.0.1/jquery.js?antcache=1460514990074
The rules are written as:

REGEX:http://127.0.0.1/jquery.js
Can.

The second line is the response part, just write a file with the content you want to return, and then click the Save button at the back.



By the way, for the automatic response, check Enable rules for it to take effect.
Unmatched requests passthrough should also be checked, because non-matched requests should be released.
Enabel Latency, if checked, you can customize the delay.
If you do not select "Unmatched requests passthrough", the following error may be reported:

[Fiddler] The Fiddler AutoResponder is enabled, but this request did not match any of the listed rules. Because the "Unmatched requests passthrough" option on the AutoResponder tab is not enabled, this HTTP/404 response has been generated.                                                                                                                                                                                                                                                                                 




Previous:How to solve the screen that keeps flashing after upgrading the Win10 system?
Next:npm tutorial (1): What is npm?
 Landlord| Posted on 12/11/2017 1:05:38 PM |
For other usage, you can refer to the article:
https://www.cnblogs.com/tugenhua0707/p/4637771.html

http://blog.csdn.net/u012223913/article/details/50175637
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