mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
another minor fix
This commit is contained in:
parent
2795aeff34
commit
712e238f33
|
@ -393,9 +393,6 @@ class Connect:
|
|||
if "forcibly closed" in tbMsg:
|
||||
logger.critical(warnMsg)
|
||||
return None, None
|
||||
elif kb.testMode:
|
||||
logger.warn(warnMsg)
|
||||
return None, None
|
||||
elif silent or (ignoreTimeout and any(map(lambda x: x in tbMsg, ["timed out", "IncompleteRead"]))):
|
||||
return None, None
|
||||
elif threadData.retriesCount < conf.retries and not kb.threadException and not conf.realTest:
|
||||
|
@ -429,6 +426,9 @@ class Connect:
|
|||
|
||||
socket.setdefaulttimeout(conf.timeout)
|
||||
return Connect.__getPageProxy(**kwargs)
|
||||
elif kb.testMode:
|
||||
logger.warn(warnMsg)
|
||||
return None, None
|
||||
else:
|
||||
socket.setdefaulttimeout(conf.timeout)
|
||||
raise sqlmapConnectionException, warnMsg
|
||||
|
|
Loading…
Reference in New Issue
Block a user