mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
making an update for special case of timed out response
This commit is contained in:
@@ -342,7 +342,7 @@ class Connect:
|
|||||||
if "forcibly closed" in tbMsg:
|
if "forcibly closed" in tbMsg:
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
return None, None
|
return None, None
|
||||||
elif silent or (ignoreTimeout and "timed out" in tbMsg):
|
elif silent or (ignoreTimeout and any(map(lambda x: x in tbMsg, ["timed out", "IncompleteRead"]))):
|
||||||
return None, None
|
return None, None
|
||||||
elif kb.retriesCount < conf.retries and not kb.threadException and not conf.realTest:
|
elif kb.retriesCount < conf.retries and not kb.threadException and not conf.realTest:
|
||||||
kb.retriesCount += 1
|
kb.retriesCount += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user