Skip to content

Instantly share code, notes, and snippets.

@dolt131943
Last active May 26, 2016 02:14
Show Gist options
  • Save dolt131943/2ac960f9b738f27b94132d89426c2ef9 to your computer and use it in GitHub Desktop.
Save dolt131943/2ac960f9b738f27b94132d89426c2ef9 to your computer and use it in GitHub Desktop.
基于Fiddler来抓取Android Apk的HTTP/HTTPS数据包

基于Fiddler来抓取Android Apk的HTTP/HTTPS数据包

步骤

电脑端

  1. 安装Fiddler;
  2. 启用允许远程连接;
  3. 启用HTTPS监听;

Android端

  1. 在设置中的WIFI连接上启用代理,代理IP和端口使用Fiddler的IP和端口;
  2. 使用手机浏览器打开http://fiddlerIP:端口;
  3. 根据界面提示点击"You can download the FiddlerRoot certificate",中的FiddlerRoot安装证书;
  4. 打开App,就可以在PC端的Fiddler上看到Protocol为HTTPS的连接了;

注意点

  1. 必须在手机上安装证书才能逆向HTTPS内容;
  2. Fiddler中忽略Host字段为Tunel to的内容,这是进行HTTPS认证的内容可忽略,相应的HTTPS包会有独立的记录;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment