minor update

This commit is contained in:
Miroslav Stampar 2011-06-20 21:47:03 +00:00
parent e8ac7414f2
commit 812cd2f19b

View File

@ -51,7 +51,13 @@ class Crawler:
kb.locks.limits.release()
break
try:
content = Request.getPage(url=current, raise404=False)[0]
except sqlmapConnectionException, e:
content = None
errMsg = "connection exception detected (%s). skipping " % e
errMsg += "url '%s'" % current
logger.critical(errMsg)
if not kb.threadContinue:
break
@ -103,12 +109,6 @@ class Crawler:
warnMsg += "will use partial list"
logger.warn(warnMsg)
except sqlmapConnectionException, e:
errMsg = "connection exception detected. sqlmap "
errMsg += "will use partial list"
errMsg += "'%s'" % e
logger.critical(errMsg)
finally:
clearConsoleLine(True)