Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 1.22 KB

File metadata and controls

29 lines (26 loc) · 1.22 KB

Apple BSSID Locator

This standalone bash script queries Apple Location Services to look up the approximate position of a Wi-Fi access point by its BSSID (MAC address), and can optionally open the resolved coordinates in Google Maps.

Usage

  1. Make the script executable
    chmod +x query.sh
  2. Look up a single BSSID:
    ./query.sh <BSSID>
  3. Show every BSSID Apple returns for the query:
    ./query.sh <BSSID> -a
  4. Open the location in Google Maps (macOS open command):
    ./query.sh <BSSID> -m

Arguments can be combined, for example ./query.sh <BSSID> -a -m or ./query.sh <BSSID> -am to list all results and open the first match in the browser.

Credits

License

This project is licensed under the MIT License - see the LICENSE file for details.