Skip to content

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

Remove COUNTRY_NAME event from hostio, since sfp_countryname is responsible to pull country names out of GEOINFO.

smicallefb9b77977bdb9
diff --git a/modules/sfp_hostio.py b/modules/sfp_hostio.py
index 91317f1c..d89c0a01 100644
--- a/modules/sfp_hostio.py
+++ b/modules/sfp_hostio.py
@@ -68,7 +68,6 @@ class sfp_hostio(SpiderFootPlugin):
def producedEvents(self):
return [
"IP_ADDRESS",
- "COUNTRY_NAME",
"RAW_RIR_DATA",
"EMAILADDR",
"WEB_ANALYTICS_ID",
@@ -154,14 +153,6 @@ class sfp_hostio(SpiderFootPlugin):
self.notifyListeners(evt)
found = True
- country = ip_data.get("country")
- if country is not None:
- country_evt = SpiderFootEvent(
- "COUNTRY_NAME", country, self.__name__, evt
- )
- self.notifyListeners(country_evt)
- found = True
-
loc = ip_data.get("loc")
if loc and isinstance(loc, str):
loc_evt = SpiderFootEvent(