`
gybin
  • 浏览: 269221 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Fiddler capture Https in App

 
阅读更多

via :http://stackoverflow.com/questions/16862916/fiddler-decrypt-android-httpsurlconnection-ssl-traffic#

 

My research shown that there is a bug in HttpsUrlConnection pipeling implementation.

To solve a problem you need to perform following steps in Fiddler:

  1. In Fiddler click "Rules->Customize Rules";

  2. In opened script and find function OnBeforeResponse

  3. In the function body add following code:

  4. if (oSession.oRequest["User-Agent"].indexOf("Dalvik") > -1 && oSession.HTTPMethodIs("CONNECT")) {  

  5.    oSession.oResponse.headers["Connection"] = "Keep-Alive";     
    } 
  6. Save file and restart Fiddler
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics