Skip to content

Instantly share code, notes, and snippets.

@nicholasadamou
Created September 2, 2019 11:56
Show Gist options
  • Save nicholasadamou/16814c5680ba7792af65adf6e1522695 to your computer and use it in GitHub Desktop.
Save nicholasadamou/16814c5680ba7792af65adf6e1522695 to your computer and use it in GitHub Desktop.
Scan for nearby networks every 10 seconds on MacOS
#!/bin/bash
while true
do
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
sleep 10
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment