wlan_geolocate Google 404
meterpreter > wlan_geolocate
[-] Error running command wlan_geolocate: RuntimeError Failure connecting to Google for location lookup. Code 404 for query https://maps.googleapis.com/maps/api/browserlocation/json?browser=firefox&sensor=true&.......
May Be google have change path...
Hum maybe it changes in favor of :
- https://developers.google.com/maps/documentation/geolocation/intro
- https://developers.google.com/maps/documentation/geolocation/intro#wifi_access_point_object
Currently Metasploit's geolocation sends GET HTTP Request to https://maps.googleapis.com/maps/api/browserlocation/json?browser=firefox&sensor=true by adding mac/ssid/signal_strength to the request.
Maybe we could use https://www.googleapis.com/geolocation/v1/geolocate with :
{
"wifiAccessPoints": [
{
"macAddress": "00:25:9c:cf:1c:ac",
"signalStrength": -43
}
]
}
Warning : without API key we won't be able to pull the API => "Daily Limit for Unauthenticated Use Exceeded."
API keyed usage is undesirable when attempting to perform activities anonymously. So if we can figure out how to keep this key-free, i for one would prefer that route. Worst case, if we have to go to the API, at least it should stay somewhat consistent...