SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fix handling pastebin results without the actual searched term.
smicallefa643b4d8e9cc
diff --git a/modules/sfp_pastebin.py b/modules/sfp_pastebin.pyindex 4b65afdc..7c9079fa 100644--- a/modules/sfp_pastebin.py+++ b/modules/sfp_pastebin.py@@ -106,6 +106,10 @@ class sfp_pastebin(SpiderFootPlugin):res['content'], self.__name__)self.notifyListeners(evt)+ # Sometimes pastebin search results false positives+ if self.baseDomain not in res['content']:+ return None+startIndex = res['content'].index(self.baseDomain)-120endIndex = startIndex+len(self.baseDomain)+240data = res['content'][startIndex:endIndex]