SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
More resillient to data issues.
Steve Micallefedb179a9e40d
diff --git a/modules/sfp_ipstack.py b/modules/sfp_ipstack.pyindex 44c3a337..3aafeaf8 100644--- a/modules/sfp_ipstack.py+++ b/modules/sfp_ipstack.py@@ -78,7 +78,7 @@ class sfp_ipstack(SpiderFootPlugin):self.sf.debug("Error processing JSON response.")return None- if 'country_name' in hostip:+ if hostip.get('country_name', None) != None:self.sf.info("Found GeoIP for " + eventData + ": " + hostip['country_name'])countrycity = hostip['country_name']