问题描述
我很感兴趣,是否有一种方法来监控在Android手机上的HTTP(S)流量?我想这样做是为了能够检索已访问手机上的浏览器的所有URL。我认为有将是一个浏览器的意向,但还没有看到任何东西 - 给我的绿色,也许我只是不知道去哪里找。
I'm interested in whether there is a way to monitor HTTP(S) traffic on an Android phone? What I would like to do is to be able to retrieve all URLs that have been accessed on the phone's browser. I thought that there would be a browser intent for that, but have not seen anything - given I'm green, maybe I just did not know where to look?
我跟着问答这里,但它仅适用于这是由用户点击超链接,但我需要捕获所有的网址 - 包括那些由用户输入的研究。基本上,我需要知道在web浏览器中打开的每一个URL。
I followed the question and answer here, but it works only for hyperlinks which were clicked by the user, however I need to catch all URLs - including the ones typed in by the user. Basically I need to know about every single URL that was opened in the web browser.
我可以注册一些与浏览器中的处理程序?
Can I register some kind of a handler with the browser?
是类似的东西可行呢?
推荐答案
也许我们可以学习个人电脑平台解决方案:
Maybe we could learn solutions from PC platform:
- 应用级:设置一个全局HTTP代理
- 的Linux等级:tcpdump的或者是Wireshark
- 修改Android的源代码:增加你的显示器模块进入浏览器或网络协议栈
- Application Level: set a global HTTP proxy
- Linux Level: tcpdump or WireShark?
- Modify Android Source: add your monitor module into browser or network protocol stack
其实,我也想解决这个问题的有效
Actually, I also want to solve this problem efficiently.
@Pawel Krakowiak,有你长了一个有效的方法呢?请与我沟通。
@Pawel Krakowiak, have u got a valid method now? Please communicate with me.
这篇关于如何监控Android的HTTP(S)流量/网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!