Sniff HTTPS traffic on Rooted+Xposed Android Device

Tools:

ProxyDroid, JustTrustMe(A xposed widget), Fiddler(Run on your PC)

Grant root access for the ProxyDroid at first. Then select the checkbox of [Global Proxy]:

Fill the textbox with proxy ip address(the pc ip address with Fiddler, port 8888), As my fiddler on laptop is listening on 192.168.1.130:8888. Here is my example:

 

Do not rush into a hurry of turing on the enable button before you install another IMPORTANT widget requires Xposed Framework. JustTrustMe, which bypasses the certificate verification!

After activation, restarting, preparing the fiddler settings on the PC. Press Enable button in ProxyDriod to sniff HTTPS traffic.

Fill the fiddler console shell to force Fiddler to resolve the host name in traffics:

prefs set fiddler.network.https.SetCNFromSNI true

A simple explaination is that Fiddler can not handle the right hostname in the CONNECTS request, but get an IP address instead. As a result, certificate verification fails.(https://groups.google.com/forum/#!msg/httpfiddler/hvsDR14j1Lg/P02zBzIYCE4J)

You can validate this process by watching the traffic list in the fiddler:

 

This result, CONNECTS always followed by HTTPS contents indicates the success of your labor~ Enjoy!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值