监听 WiFi 数据包 [英] Listening to WiFi packets

查看:31
本文介绍了监听 WiFi 数据包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只处于项目的第一阶段,所以这个问题非常简单和基本.我喜欢听(使用 Java/C++)我的笔记本电脑范围内的每个 WiFi 数据包,我只关心消息头和消息的存在,所以加密在这里并没有真正发挥作用.

I'm only in the pre-first stage of the project, so the question is very straight forward and basic. I like to listen to (using Java/C++) every WiFi packets in the range of my laptop, all I care for are the message headers and the very existence of the message so encryption doesn't really play a role here.

有没有办法从 Windows(8)/Ubuntu 获得它?我没有设法从 Broadcom 找到任何类型的 API,所以我想直接访问该卡不会很简单.如果这是不可能的,那么我可以尝试在 WindowsPhone 8 上做同样的事情,所以如果有人知道一种方法,它也会非常有帮助.

Is there a way to get that from Windows(8)/Ubuntu? I didn't manage to find any sort of API form Broadcom, so I guess accessing the card directly won't be trivial. If that's impossible then I could try and do the same with WindowsPhone 8, so if any one know a way for that, it would also be very helpful.

推荐答案

你可以试试下面的链接..

You can try the links below..

jNetPcap http://jnetpcap.com/examples

WinPcap https://www.winpcap.org/docs/docs_40_2/html/group__wpcapsamps.html

这篇关于监听 WiFi 数据包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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