拦截特定应用程序的网络流量
我正在 Windows 上工作。假设我正在运行一个 Twitter 应用程序。我想拦截该应用程序在运行时发送或接收的所有网络数据包。我希望查找某些数据包(段)特征,例如 TCP 目标端口、窗口大小等,并根据这些信息我希望执行某些操作。基本上我想要 Wireshark 或 MS Network Monitor 等流量分析器可用的所有信息。我如何在 Windows 上完成此操作?
I am working on Windows. Lets say I am running a Twitter app. I want to intercept all the network packets that this app is sending or receiving at runtime. I wish to look for certain packet (segment) features like TCP destination port, windows size etc. and based on this information I wish to perform certain actions. Basically I want all the information that is available to a traffic analyzer like Wireshark or MS Network Monitor. How can I accomplish this on Windows?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定是否完全理解您的目标 - 据我了解,您可以启动 Wireshark,记录相关信息,然后根据您可以从此日志检索的数据执行“某些操作” - 甚至自动一些脚本。
I'm not sure to understand completely what you're aiming at - from what I understand, you could start Wireshark, log the relevant info, and then perform "certain actions" based on the data you could retrieve from this log - even automatically with some scripting.