SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Also look up parent domains.
Steve0a9435e124bc
diff --git a/modules/sfp_pastes.py b/modules/sfp_pastes.pyindex ea8dfbf5..f6716b28 100644--- a/modules/sfp_pastes.py+++ b/modules/sfp_pastes.py@@ -51,7 +51,7 @@ class sfp_pastes(SpiderFootPlugin):# What events is this module interested in for inputdef watchedEvents(self):- return ["DOMAIN_NAME", "EMAILADDR"]+ return ["DOMAIN_NAME", "INTERNET_NAME", "EMAILADDR"]# What events this module produces# This is to support the end user in selecting modules based on eventsdiff --git a/modules/sfp_whois.py b/modules/sfp_whois.pyindex 2f4cc100..a6a22416 100644--- a/modules/sfp_whois.py+++ b/modules/sfp_whois.py@@ -38,7 +38,7 @@ class sfp_whois(SpiderFootPlugin):# What events is this module interested in for inputdef watchedEvents(self):- return ["DOMAIN_NAME", "NETBLOCK_OWNER"]+ return ["DOMAIN_NAME", "DOMAIN_NAME_PARENT", "NETBLOCK_OWNER"]# What events this module produces# This is to support the end user in selecting modules based on events@@ -69,7 +69,7 @@ class sfp_whois(SpiderFootPlugin):self.sf.error("Unable to perform WHOIS on " + eventData + ": " + str(e), False)return None- if eventName == "DOMAIN_NAME":+ if eventName.startswith("DOMAIN_NAME"):typ = "DOMAIN_WHOIS"else:typ = "NETBLOCK_WHOIS"@@ -84,7 +84,7 @@ class sfp_whois(SpiderFootPlugin):return Noneif info.has_key('registrar'):- if eventName == "DOMAIN_NAME" and info['registrar'] is not None:+ if eventName.startswith("DOMAIN_NAME") and info['registrar'] is not None:evt = SpiderFootEvent("DOMAIN_REGISTRAR", info['registrar'][0],self.__name__, event)self.notifyListeners(evt)diff --git a/sfdb.py b/sfdb.pyindex 83df464a..4c222367 100644--- a/sfdb.py+++ b/sfdb.py@@ -119,6 +119,7 @@ class SpiderFootDb:"INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('DEVICE_TYPE', 'Device Type', 0, 'DESCRIPTOR')","INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('DNS_TEXT', 'DNS TXT Record', 0, 'DATA')","INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('DOMAIN_NAME', 'Domain Name', 0, 'ENTITY')",+ "INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('DOMAIN_NAME_PARENT', 'Domain Name (Parent)', 0, 'ENTITY')","INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('DOMAIN_REGISTRAR', 'Domain Registrar', 0, 'ENTITY')","INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('DOMAIN_WHOIS', 'Domain Whois', 1, 'DATA')","INSERT INTO tbl_event_types (event, event_descr, event_raw, event_type) VALUES ('EMAILADDR', 'Email Address', 0, 'ENTITY')",