SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
More accuracy with pastebin.
smicallef52004411bc92
diff --git a/modules/sfp_pastebin.py b/modules/sfp_pastebin.pyindex 5069a2c1..3a6d8af5 100644--- a/modules/sfp_pastebin.py+++ b/modules/sfp_pastebin.py@@ -81,7 +81,7 @@ class sfp_pastebin(SpiderFootPlugin):self.notifyListeners(evt)# Fetch the PasteBin page- links = sf.parseLinks(page, pages[page], self.baseDomain)+ links = sf.parseLinks(page, pages[page], "pastebin.com")if len(links) == 0:continuediff --git a/sflib.py b/sflib.pyindex 8c8ac713..13240794 100644--- a/sflib.py+++ b/sflib.py@@ -576,6 +576,12 @@ class SpiderFoot:urlsRel = urlsRel + regRel.findall(data)except Exception as e:self.error("Error applying regex2 to: " + data)+ try:+ # Some links are sitting inside a tag, e.g. Google's use of <cite>+ regRel = re.compile('(>)('+domain+'/.[^<]+)', re.IGNORECASE)+ urlsRel = urlsRel + regRel.findall(data)+ except Exception as e:+ self.error("Error applying regex3 to: " + data)# Loop through all the URLs/links found by the regexfor linkTuple in urlsRel: