MacOS14.4 移除了命令行工具 airport 后,大家如何扫描附近 wifi 网络

 2026-02-28 00:10:18    3600  

原命令非常方便,如:

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/


汉文帝为什么会把“抑商”政策为“惠商”政策呢?
吴卓羲自爆Chok样背后代价 获封“港圈颜值天花板”全靠一样嘢