Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Switched to a better GeoIP provider.

Steve Micallef697fb6021733
diff --git a/modules/sfp_geoip.py b/modules/sfp_geoip.py
index 4c015199..c5073c31 100644
--- a/modules/sfp_geoip.py
+++ b/modules/sfp_geoip.py
@@ -63,7 +63,7 @@ class sfp_geoip(SpiderFootPlugin):
else:
self.results[eventData] = True
- res = sf.fetchUrl("http://api.hostip.info/get_json.php?ip=" + eventData,
+ res = sf.fetchUrl("http://freegeoip.net/json/" + eventData,
timeout=self.opts['_fetchtimeout'], useragent=self.opts['_useragent'])
if res['content'] == None:
sf.info("No GeoIP info found for " + eventData)