SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Non-fatal errors and raise errors instead of debug for zone-h.
smicallefe1b39f9dd19c
diff --git a/modules/sfp_bingsearch.py b/modules/sfp_bingsearch.pyindex 8e9c9359..f24c90dc 100644--- a/modules/sfp_bingsearch.py+++ b/modules/sfp_bingsearch.py@@ -122,7 +122,7 @@ class sfp_bingsearch(SpiderFootPlugin):firstPage = sf.fetchUrl(seedUrl, timeout=self.opts['_fetchtimeout'],useragent=self.opts['_useragent'])if firstPage['code'] == "403":- sf.error("Bing doesn't like us right now..")+ sf.error("Bing doesn't like us right now..", False)return Noneif firstPage['content'] == None:@@ -158,7 +158,7 @@ class sfp_bingsearch(SpiderFootPlugin):nextPage = sf.fetchUrl('http://www.bing.com' + nextUrl,timeout=self.opts['_fetchtimeout'], useragent=self.opts['_useragent'])if firstPage['code'] == 403:- sf.error("Bing doesn't like us any more..")+ sf.error("Bing doesn't like us any more..", False)return returnResultsif nextPage['content'] == None:diff --git a/modules/sfp_defaced.py b/modules/sfp_defaced.pyindex 78b5d0f1..e3e1a5fc 100644--- a/modules/sfp_defaced.py+++ b/modules/sfp_defaced.py@@ -79,7 +79,7 @@ class sfp_defaced(SpiderFootPlugin):return Noneif "<img id='cryptogram' src='/captcha.py'>" in res['content']:- sf.debug("CAPTCHA returned from zone-h.org.")+ sf.error("CAPTCHA returned from zone-h.org.", False)return Nonerx = "<td>(\d+/\d+/\d+)</td>"diff --git a/modules/sfp_googlesearch.py b/modules/sfp_googlesearch.pyindex 148959d3..07f5af70 100644--- a/modules/sfp_googlesearch.py+++ b/modules/sfp_googlesearch.py@@ -77,7 +77,7 @@ class sfp_googlesearch(SpiderFootPlugin):firstPage = sf.fetchUrl(seedUrl, timeout=self.opts['_fetchtimeout'],useragent=self.opts['_useragent'])if firstPage['code'] == "403":- sf.error("Google doesn't like us right now..")+ sf.error("Google doesn't like us right now..", False)return Noneif firstPage['content'] == None:@@ -113,7 +113,7 @@ class sfp_googlesearch(SpiderFootPlugin):nextPage = sf.fetchUrl('http://www.google.com' + nextUrl,timeout=self.opts['_fetchtimeout'], useragent=self.opts['_useragent'])if firstPage['code'] == 403:- sf.error("Google doesn't like us any more..")+ sf.error("Google doesn't like us any more..", False)return returnResultsif nextPage['content'] == None: