
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Locates the current wifi-enabled computer using nearby access points and https://radiocells.org/geolocation or https://wiki.mozilla.org/CloudServices/Location/FAQ or both.
Project home: https://github.com/ways/wifindme
Takes over from https://github.com/ways/locate-radiocells with the added benefit of Mozilla Location Services.
.. code:: bash
$ pip install wifindme
Must run as root to get access to scanning on Linux.
Example use:
.. code:: python
import wifindme
accuracy, latlng = wifindme.locate(device='wlan0')
Example script included in examples/, (prints out accuracy in meters, and coordinates):
.. code:: bash
$ sudo ./wifindme.py wlan0 30 (59.12345, 10.12345)
Python 2 and 3. Only tested on Linux (Ubuntu, Fedora, Arch).
example query sent to radiocells.org:
.. code:: json
curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"wifiAccessPoints":[{"macAddress":"24-DE-C6-A8-C9-64","signalStrength":-57}]}' https://radiocells.org/backend/geolocate
Example response:
.. code:: json
{"source": "wifis", "measurements": 14, "location": {"lat": 59.12345, "lng": 10.12345}, "accuracy": 30}
or on fail:
.. code:: json
{'resultType': 'error', 'results': {'source': 'none', 'measurements': 0, 'location': {'lat': 0.0, 'lng': 0.0}, 'accuracy': 9999}, 'error': {'message': 'Empty request', 'code': 400, 'errors': [{'message': None, 'reason': 'parseError', 'domain': 'global'}]}}
FAQs
Get position based on wifi APs and radiocells.org or Mozilla location database.
We found that wifindme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.