SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fixed bug.
root40d4b223dc95
diff --git a/modules/sfp_wikileaks.py b/modules/sfp_wikileaks.pyindex 3e6447a6..1d7caaa9 100644--- a/modules/sfp_wikileaks.py+++ b/modules/sfp_wikileaks.py@@ -87,8 +87,14 @@ class sfp_wikileaks(SpiderFootPlugin):# Fetch the paste site contentlinks = dict()- links.update(self.sf.parseLinks(wlurl, res['content'], "wikileaks.org"))- links.update(self.sf.parseLinks(wlurl, res['content'], "cryptome.org"))+ p = self.sf.parseLinks(wlurl, res['content'], "wikileaks.org")+ if p:+ links.update(p)++ p = self.sf.parseLinks(wlurl, res['content'], "cryptome.org")+ if p:+ links.update(p)+keepGoing = Truepage = 0while keepGoing:@@ -130,7 +136,12 @@ class sfp_wikileaks(SpiderFootPlugin):res = self.sf.fetchUrl(wlurl)# Fetch the paste site contentlinks = dict()- links.update(self.sf.parseLinks(wlurl, res['content'], "wikileaks.org"))- links.update(self.sf.parseLinks(wlurl, res['content'], "cryptome.org"))+ p = self.sf.parseLinks(wlurl, res['content'], "wikileaks.org")+ if p:+ links.update(p)++ p = self.sf.parseLinks(wlurl, res['content'], "cryptome.org")+ if p:+ links.update(p)# End of sfp_wikileaks class