使用FIddler捕获Android应用流量 [英] Capturing Android applicataion traffic using FIddler

查看:167
本文介绍了使用FIddler捕获Android应用流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我设法捕获了本地Java程序的流量. Android浏览器成功.但是,我无法捕获Android应用程序的流量(使用HttpsUrlConnection).

So far I managed to capture the traffic of local Java programs & Android browser successfully. However, I failed to capture traffic of my Android application (using HttpsUrlConnection).

按照指南中的步骤进行操作,以配置WiFi设备上的网络中,在下载证书的步骤中,我遇到一个奇怪的行为,因为Chrome引发了一个错误,而Firefox在未打开预期对话框的情况下安装了该错误:

While following the steps in this guide to configure the WiFi network on the device, in the step of downloading the certificate I faced an odd behavior as Chrome raised an error and Firefox installed it without opening the expected dialog:

但是当我尝试再次下载它时,它表明证书已经安装.

But when I try to download it again, it says that the certificate is already installed.

无论如何,在运行我的应用程序(在真实设备上,Karbonn S203 API 19)时,Fiddler中没有请求,也没有登录隧道.我做了很多尝试,包括检查 this 线程无济于事.在其他文章中,我读到有关仅显示隧道的信息,但我也没有.我想念什么吗?

Anyway, when running my app (on a real device, Karbonn S203 API 19), there are no requests nor tunnels logged in Fiddler. I tried a lot including inspecting this thread to no avail. In other articles I read about showing tunnels only but I don't have them either. Am I missing anything?

谢谢.

编辑:从PC复制后,我设法从Settings -> Security -> Install Certificate安装(正确显示)(具有以上屏幕).仍然在Fiddler中看不到请求.

EDIT: I managed to install is "correctly" (with the above screen) from Settings -> Security -> Install Certificate after copying if from PC. Still I cannot see the requests in Fiddler.

推荐答案

显然,该问题是由于使用了一些不常见的设备而发生的(至少在欧洲/北美并不常见).他们可能已经在其AOSP版本中进行了一些配置更改.使用Nexus 5进行相同的操作时,我设法在"WiFi"下添加了证书,然后成功捕获了请求.

Apparently the problem occurred due to using some uncommon devices (well, at least uncommon in Europe/North America). They've probably made some configuration changes in their AOSP version. When working the same way with Nexus 5 I managed to add the ceritifcate under 'WiFi' and then captured requests successfully.

这篇关于使用FIddler捕获Android应用流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆