SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fix.
smicallef178b03e7b044
diff --git a/modules/sfp_spyse.py b/modules/sfp_spyse.pyindex 5d43133f..16cab951 100644--- a/modules/sfp_spyse.py+++ b/modules/sfp_spyse.py@@ -281,6 +281,10 @@ class sfp_spyse(SpiderFootPlugin):return Nonedata = self.queryDomainsOnIP(eventData, currentOffset)+ if not data:+ nextPageHasData = False+ break+data = data.get("data")if data is None:self.sf.debug("No domains found on IP address " + eventData)@@ -303,7 +307,6 @@ class sfp_spyse(SpiderFootPlugin):nextPageHasData = FalsecurrentOffset += self.limit-for co in set(cohosts):if co in self.results:@@ -337,6 +340,10 @@ class sfp_spyse(SpiderFootPlugin):if self.checkForStop():return Nonedata = self.queryIPPort(eventData, currentOffset)+ if not data:+ nextPageHasData = False+ break+data = data.get("data")if data is None:@@ -355,11 +362,11 @@ class sfp_spyse(SpiderFootPlugin):ports.append(str(eventData) + ":" + str(port))self.reportExtraData(record, event)- # Calculate if there are any records in the next offset (page)- if len(records) < self.limit:- nextPageHasData = False- currentOffset += self.limit-+ # Calculate if there are any records in the next offset (page)+ if len(records) < self.limit:+ nextPageHasData = False+ currentOffset += self.limit+for port in ports:if port in self.results:continue@@ -379,6 +386,10 @@ class sfp_spyse(SpiderFootPlugin):return Nonedata = self.querySubdomains(eventData, currentOffset)+ if not data:+ nextPageHasData = False+ break+data = data.get("data")if data is None:self.sf.debug("No subdomains found for domain " + eventData)