原命令非常方便,如:
1.列出所有附近的 Wi-Fi 网络及其相关信息
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
2.监听路由器信道
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en0 sniff 8
该命令行工具在 MacOS14.4 版本被移除, Reddit 的讨论:
With the macOS 14.4 update, Apple has disabled the command line tool – presumably to prevent apps from using abusing it to snoop on your location. Binary comparisons between macOS 14.3 and macOS 14.4 confirm that the CLI code has been removed.
https://www.reddit.com/r/MacOS/comments/1bjjchk/rip_airport_cli_macos_sonoma_144_removes_the/
|      1slowman      2024-09-03 20:31:24 +08:00 WiFi Explorer Lite | 
|      2piero66      2024-09-03 21:30:26 +08:00 via Android 用手机扫描 | 
|  |      3Tianao      2024-09-03 21:35:46 +08:00 网络工程师(非无线方向)来答一下: https://it-training.apple.com/tutorials/support/sup110/ inSSIDer WiFi Explorer NetSpot |