How to use the interface and Fiddler gripping APP micro-channel authorization page source

 Fiddler, a packet capture artifact, not only can be accessed via mobile phone APP grab interfaces and even some of the data, you can also grab the code page of the micro-channel authorization.

 

Download and install

1. Download (official website):   https://www.telerik.com/download/fiddler

2. the public or following number, reply "packet capture tool" you can get network disk address.

3. official website fill out the account information to download and install open.

 

Set the current proxy computer

1. Open the "Tools", select "Options", first find the "HTTPS".

2. Select the following options, no matter if it is the default can be.

3. then open the "Connections", set the listening port number, such as 8888, the following options are also checked, where computer to set it.

Wifi mobile phone connected to the network modifications

1. phones and computer network must be in the same LAN, PC input cmd "ipconfig", write down the LAN IP.

2. Handset find wifi connection, click Edit network.

3. may want to check the advanced options, the proxy is set to "manual", the server host name is the computer's LAN IP, service port number is listening port Fiddler in front of the set.

 

HTTP crawl web pages and micro-authorization letter

1. After setting the phone can open any of the APP or micro letter of authorization page (number of others in the public application) using a mobile phone.

2. Just a micro-channel access, Fiddler on the left you can see the various requests, request to find one, click on the "SyntaxView", here is the page source code, may be garbled.

3. Click the "Transformer", "HTTP compression", check the "Chunked Transfer-Encoding", and then return to grammar view, you can see.

 

4. Go to App Interface, click on the "json" or "xml" can view the data returned interface, or crawl address POSTman, test.

 

Install the certificate to view the interface HTTPS

Computer browser or cell phone after installing Fiddler certificate can request to view information about HTTPS

1. Enter the current browser computer LAN IP, plus Fiddler listening port.

2. 点击“certficate”下载到本地,然后导入在电脑浏览器或者手机,手机按提示安装就可以,可能需要先设置锁屏密码。

3. 手机安装了该证书继续打开一些其他APP,然后再用Fiddler查看请求。

4. 可以查看请求方式和请求参数,图片等等

 

 

公众号:

Guess you like

Origin www.cnblogs.com/zerofc/p/10986573.html