SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Report company names instead.
smicallef3d9aadeb0055
diff --git a/modules/sfp_twilio.py b/modules/sfp_twilio.pyindex 400670cf..865835f4 100644--- a/modules/sfp_twilio.py+++ b/modules/sfp_twilio.py@@ -42,7 +42,7 @@ class sfp_twilio(SpiderFootPlugin):# What events this module producesdef producedEvents(self):- return ["HUMAN_NAME", "RAW_RIR_DATA"]+ return ["COMPANY_NAME", "RAW_RIR_DATA"]# When querying third parties, it's best to have a dedicated function# to do so and avoid putting it in handleEvent()@@ -56,7 +56,7 @@ class sfp_twilio(SpiderFootPlugin):}res = self.sf.fetchUrl(- 'https://lookups.twilio.com/v1/PhoneNumbers/' + phoneNumber + "?type=caller-name",+ 'https://lookups.twilio.com/v1/PhoneNumbers/' + phoneNumber + "?Type=caller-name",headers=headers,timeout=15,useragent=self.opts['_useragent']@@ -120,9 +120,11 @@ class sfp_twilio(SpiderFootPlugin):self.notifyListeners(evt)callerName = data.get('caller_name')+ if callerName:+ callerName = callerName.get('caller_name')if callerName:- evt = SpiderFootEvent("HUMAN_NAME", callerName, self.__name__, event)+ evt = SpiderFootEvent("COMPANY_NAME", callerName, self.__name__, event)self.notifyListeners(evt)return None