Fidder Simple use Method (https fetch and URL substitution)

Source: Internet
Author: User
Tags server port

Fidder is a Windows-side mainstream capture tool that can configure agents, catch HTTPS data, and modify the request body and content below are some simple ways to use

After installation, Tools->options needs to be configured to crawl HTTPS content

Configure it to look like that, and then configure connections:

This port number is changed according to personal preferences, after the configuration is complete, just click OK

If the phone catches the packet or other computer connection agent, may want to download installs the HTTPS certificate only then, uses the browser to access: Proxy server IP: Proxy server port

Open this page, download and install the certificate on it, of course, you can download the certificate offline for other devices

Here is a simple and common function, replace the URL, sometimes we need to replace some of the requested URL, two ways, one is to add host in Tools, one is fidder powerful custom function, this I did not study carefully, it seems JS or what, I think a bit like Java , but it does not matter, if this particular interest, you can own Baidu.

Open Rules->customer Rules

Add some code to the Onbeforerequest method, such as:

if (Osession.ishttps) {if (osession.hostname== "www.google.com") {osession.fullurl= "https://" + "www.baidu.com" + Osession.pathandquery;}}

  

The code means that if the fetched request is HTTPS and the requested host is www.google.com, then the URL of the request is replaced, https:// Www.baidu.com plus the requested parameters, of course, this whole code is can change any part of the more functional self-excavation.

Recommend a person's article, of course, this article did not look carefully, because the use of this function, other functions used in the study it:

http://blog.csdn.net/cengjingcanghai123/article/details/43373521

Fidder Simple use Method (https fetch and URL substitution)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.