SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fix when empty results encountered during page iteration.
smicallefc6ad6d738653
diff --git a/modules/sfp_binaryedge.py b/modules/sfp_binaryedge.pyindex 9256c8bb..739835f0 100644--- a/modules/sfp_binaryedge.py+++ b/modules/sfp_binaryedge.py@@ -54,17 +54,17 @@ class sfp_binaryedge(SpiderFootPlugin):# Be sure to completely clear any class variables in setup()# or you run the risk of data persisting between scan runs.- results = dict()+ results = NoneerrorState = Falsecohostcount = 0- reportedhosts = dict()- checkedips = dict()+ reportedhosts = None+ checkedips = Nonedef setup(self, sfc, userOpts=dict()):self.sf = sfc- self.results = dict()- self.reportedhosts = dict()- self.checkedips = dict()+ self.results = self.tempStorage()+ self.reportedhosts = self.tempStorage()+ self.checkedips = self.tempStorage()self.cohostcount = 0self.errorState = False@@ -154,7 +154,9 @@ class sfp_binaryedge(SpiderFootPlugin):self.sf.error("Maximum number of pages reached.", False)return [info]retarr.append(info)- retarr.extend(self.query(qry, querytype, page))+ e = self.query(qry, querytype, page)+ if e:+ retarr.extend(e)else:retarr.append(info)