mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-26 20:03:45 +03:00
making an update for special case of timed out response
This commit is contained in:
parent
1e22ff45de
commit
ae53ad4c30
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user