我想获取已知SSID的BSSID,该怎么办?谢谢 :-)
可能的重复项:askubuntu.com/questions/222549/get-mac-address-of-accesspoint
—
Andreas J.
我想获取已知SSID的BSSID,该怎么办?谢谢 :-)
Answers:
如果我没记错的话,它应该是签发时显示的地址
sudo iwlist scanning
例如:
wlan0 Scan completed :
Cell 01 - Address: 00:11:22:33:44:55
Channel:5
Frequency:2.432 GHz (Channel 5)
Quality=70/70 Signal level=-33 dBm
Encryption key:on
ESSID:"the_known_ssid"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
...
sudo iwlist wlan0 scanning|grep Address
仅显示地址。我的帖子需要花费更多时间,因此更好的方法是;-)
aircrack-ng 可以做到这一点。
sudo airmon-ng start eth1 6
使用eth1监视频道6(该频道是可选的),然后可以sudo airodump-ng eth1
使它显示BSSID。