Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Non-fatal errors and raise errors instead of debug for zone-h.

smicallefe1b39f9dd19c
diff --git a/modules/sfp_bingsearch.py b/modules/sfp_bingsearch.py
index 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 None
if 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 returnResults
if nextPage['content'] == None:
diff --git a/modules/sfp_defaced.py b/modules/sfp_defaced.py
index 78b5d0f1..e3e1a5fc 100644
--- a/modules/sfp_defaced.py
+++ b/modules/sfp_defaced.py
@@ -79,7 +79,7 @@ class sfp_defaced(SpiderFootPlugin):
return None
if "<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 None
rx = "<td>(\d+/\d+/\d+)</td>"
diff --git a/modules/sfp_googlesearch.py b/modules/sfp_googlesearch.py
index 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 None
if 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 returnResults
if nextPage['content'] == None: