mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 11:13:47 +00:00
Less critical messages when something goes wrong with connection
This commit is contained in:
parent
ef22f31fdf
commit
1fd6b007ab
1 changed files with 5 additions and 1 deletions
|
|
@ -621,7 +621,11 @@ class Connect(object):
|
||||||
return None, None, None
|
return None, None, None
|
||||||
elif threadData.retriesCount < conf.retries and not kb.threadException:
|
elif threadData.retriesCount < conf.retries and not kb.threadException:
|
||||||
warnMsg += ". sqlmap is going to retry the request"
|
warnMsg += ". sqlmap is going to retry the request"
|
||||||
logger.critical(warnMsg)
|
if not retrying:
|
||||||
|
warnMsg += "(s)"
|
||||||
|
logger.critical(warnMsg)
|
||||||
|
else:
|
||||||
|
logger.debug(warnMsg)
|
||||||
return Connect._retryProxy(**kwargs)
|
return Connect._retryProxy(**kwargs)
|
||||||
elif kb.testMode:
|
elif kb.testMode:
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue