[英]Can't see WiFi traffic from my mobile in Wireshark?
So, I'm running Ubuntu Linux on my laptop, and Android 4.0.4 on my mobile (I don't think this is relevant, but just in case). 所以,我在我的笔记本电脑上运行Ubuntu Linux,在我的手机上运行Android 4.0.4(我不认为这是相关的,但以防万一)。 I've got my laptop unassociated from any networks, and my mobile is on my network and has been assigned (by DHCP) the IP of 192.168.0.109.
我的笔记本电脑与任何网络都没有关联,我的手机在我的网络上,并且已经(通过DHCP)分配了192.168.0.109的IP。
On my laptop, I did this: ifconfig wlan0 down && airmon-ng start wlan0 && ifconfig wlan0 up
.. this created my mon0
interface for promiscuous mode, if I'm not mistaken. 在我的笔记本电脑上,我这样做了:
ifconfig wlan0 down && airmon-ng start wlan0 && ifconfig wlan0 up
..这为混杂模式创建了我的mon0
接口,如果我没弄错的话。
I fired up Wireshark, attached it to mon0
and assigned a display filter of
ip.addr == 192.168.0.109
, go back to my mobile, and navigate to a few websites. 我启动了Wireshark,将它附加到
mon0
并分配了ip.addr == 192.168.0.109
的显示过滤器,返回我的手机,然后导航到几个网站。 I get absolutely nothing. 我什么都没得到。
The step listed here - unable to read packets captured from wifi network using wireshark - do not help either. 此处列出的步骤 - 无法使用wireshark读取从wifi网络捕获的数据包 - 也无济于事。
Anyone tell me what I'm doing wrong? 有谁告诉我我做错了什么? :(
:(
Thanks! 谢谢!
Set the WPA or WPA2 key by going to: 通过转到:设置WPA或WPA2密钥:
wpa-pwd
with a value like myPassword:mySSID
. wpa-pwd
的密钥,其值类似于myPassword:mySSID
。 You might need monitor mode (promiscuous mode might not be sufficient). 您可能需要监控模式(混杂模式可能不够)。 Also, make sure the device connects after you started monitoring (as Wireshark needs the handshake packets to decrypt ).
此外,确保在开始监控后设备连接(因为Wireshark 需要握手数据包来解密 )。
See also these instructions . 另请参阅这些说明 。
The problem I was having was that the wifi card I was using wasn't giving errors when I switched modes, but it didn't support them none-the-less. 我遇到的问题是,当我切换模式时,我使用的wifi卡没有出错,但它并不支持它们。
Using another card worked. 使用另一张卡工作。
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.