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

1次阅读

共计 561 个字符,预计需要花费 2 分钟才能阅读完成。

原命令非常方便,如:

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/

正文完
 0