News for hackers. Stuff that matters.
Re:Useful built-in macOS command-line utilities by semanticist on Wednesday November 06, 2024 @03:44AM (#42058160)
Want to scan the local wifi networks from the command line, and get useful information like signal strength?

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -s

I set a shell alias so I can just do `airport -s`. I've no idea why this is hidden away inside some framework and not in a directory which is in the normal path, but there you go.

Re:Useful built-in macOS command-line utilities by stunthamsterio on Wednesday November 06, 2024 @04:03AM (#42058307)
FWIW that appears to be soon deprecated according to MacOS 15.2:

WARNING: The airport command line tool is deprecated and will be removed in a future release. For diagnosing Wi-Fi related issues, use the Wireless Diagnostics app or wdutil command line tool.

Re:Useful built-in macOS command-line utilities by semanticist on Wednesday November 06, 2024 @05:13AM (#42059254)
Oh, that's a pity. I'm pretty bad at keeping up to date on MacOS releases, but I should probably start figuring out `wdutil` so that my muscle memory is adapted before I've got no choice!
Re:Useful built-in macOS command-line utilities by WorldPeas on Wednesday November 06, 2024 @03:19PM (#42068704)
is there a way to do monitor mode scanning with wdutil like the `airport -s` command? asking for a friend...