SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Update location match
Brendan Coles806632b3042f
diff --git a/modules/sfp_censys.py b/modules/sfp_censys.pyindex 91497b35..a419f7f5 100644--- a/modules/sfp_censys.py+++ b/modules/sfp_censys.py@@ -167,9 +167,9 @@ class sfp_censys(SpiderFootPlugin):continueif 'location' in rec:- dat = rec['location'].get('country')- if dat:- e = SpiderFootEvent("GEOINFO", dat, self.__name__, event)+ location = ', '.join(filter(None, [rec['location'].get('city'), rec['location'].get('province'), rec['location'].get('postal_code'), rec['location'].get('country')]))+ if location:+ e = SpiderFootEvent("GEOINFO", location, self.__name__, event)self.notifyListeners(e)if 'headers' in rec: