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.
- Make the script executable
chmod +x query.sh
- Look up a single BSSID:
./query.sh <BSSID>
- Show every BSSID Apple returns for the query:
./query.sh <BSSID> -a
- Open the location in Google Maps (macOS
opencommand):./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.
- iSniff-GPS by hubert3
- Research by François-Xavier Aguessy and Côme Demoustier: Interception SSL & Analyse Données Localisation Smartphones
- A Python implementation: darkosancanin/apple_bssid_locator
This project is licensed under the MIT License - see the LICENSE file for details.