SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_hostio: Handle multiple email addresses returned.
smicallef5572ddec8e96
diff --git a/modules/sfp_hostio.py b/modules/sfp_hostio.pyindex 1c64e682..46767907 100644--- a/modules/sfp_hostio.py+++ b/modules/sfp_hostio.py@@ -178,10 +178,12 @@ class sfp_hostio(SpiderFootPlugin):if isinstance(email_data, dict):value = email_data["value"]if value and isinstance(value, str):- evt = SpiderFootEvent(- "EMAILADDR", value, self.__name__, event- )- self.notifyListeners(evt)+ for email in value.split(','):+ email = email.strip('.')+ evt = SpiderFootEvent(+ "EMAILADDR", email, self.__name__, event+ )+ self.notifyListeners(evt)found = Trueweb = data.get("web")