SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Parsing fixes, minor tweaks.
Stevec5763a475869
diff --git a/modules/sfp_sharedip.py b/modules/sfp_sharedip.pyindex 08dd18ce..2b7f0bab 100644--- a/modules/sfp_sharedip.py+++ b/modules/sfp_sharedip.py@@ -108,7 +108,7 @@ class sfp_sharedip(SpiderFootPlugin):self.sf.error("Unable to fetch robtex content.", False)return None- if "shared DNS of" in res['content']:+ if "shared DNS of" in res['content'] or "Pointing to " + ip in res['content']:p = re.compile("<li><a href=..\?dns=(.[^\"]*)..>(.[^<]*)", re.IGNORECASE)matches = p.findall(res['content'])for mt in matches:diff --git a/modules/sfp_vuln.py b/modules/sfp_vuln.pyindex 24e037eb..3c1ec663 100644--- a/modules/sfp_vuln.py+++ b/modules/sfp_vuln.py@@ -57,7 +57,7 @@ class sfp_vuln(SpiderFootPlugin):ret = list()base = "https://www.openbugbounty.org"url = "https://www.openbugbounty.org/search/?search=" + qry- res = self.sf.fetchUrl(url, timeout=30, useragent="SpiderFoot")+ res = self.sf.fetchUrl(url, timeout=30, useragent=self.opts['_useragent'])if res['content'] is None:self.sf.debug("No content returned from openbugbounty.org")@@ -67,7 +67,6 @@ class sfp_vuln(SpiderFootPlugin):rx = re.compile(".*<div class=.cell1.><a href=.(.*).>(.*" + qry + ").*?</a></div>.*", re.IGNORECASE)for m in rx.findall(res['content']):# Report it- print "FOUND MATCH!" + str(m)if m[1] == qry or m[1].endswith("."+qry):ret.append("From openbugbounty.org: <SFURL>" + base + m[0] + "</SFURL>")except Exception as e: