mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 11:13:47 +00:00
turning back on automatic adjusting of delays in time based queries
This commit is contained in:
parent
0205d96d7b
commit
37db27b720
2 changed files with 8 additions and 7 deletions
|
|
@ -2036,11 +2036,11 @@ def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
|
|||
kb.delayCandidates = [candidate] + kb.delayCandidates[:-1]
|
||||
|
||||
if all([x == candidate for x in kb.delayCandidates]) and candidate < conf.timeSec:
|
||||
infoMsg = "due to good response times you can "
|
||||
infoMsg += "try to adjust the time-delay to "
|
||||
infoMsg += "a more appropriate value (e.g. --time-sec=%d)" % candidate
|
||||
singleTimeLogMessage(infoMsg)
|
||||
kb.adjustTimeDelay = False
|
||||
conf.timeSec = candidate
|
||||
|
||||
infoMsg = "adjusting time delay to "
|
||||
infoMsg += "%d second%s due to good response times" % (conf.timeSec, 's' if conf.timeSec > 1 else '')
|
||||
logger.info(infoMsg)
|
||||
|
||||
def getLastRequestHTTPError():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue