mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor update
This commit is contained in:
parent
e8ac7414f2
commit
812cd2f19b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user