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:
-
In Fiddler click "Rules->Customize Rules";
-
In opened script and find function OnBeforeResponse
-
In the function body add following code:
-
if (oSession.oRequest["User-Agent"].indexOf("Dalvik") > -1 && oSession.HTTPMethodIs("CONNECT")) {
-
oSession.oResponse.headers["Connection"] = "Keep-Alive"; } - Save file and restart Fiddler
修复Android HTTPS流量抓包问题
本文介绍了一个在Android平台上使用HttpsUrlConnection时出现的bug,并提供了解决方案。通过在Fiddler中定制规则,当请求来自Dalvik虚拟机且为CONNECT方法时,将连接头设置为Keep-Alive。
447

被折叠的 条评论
为什么被折叠?



