mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
Better adjustTimeDelay() candidate algorithm
This commit is contained in:
parent
e61c4c22c9
commit
56832fe9c4
|
@ -1925,7 +1925,7 @@ def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
|
||||||
Provides tip for adjusting time delay in time-based data retrieval
|
Provides tip for adjusting time delay in time-based data retrieval
|
||||||
"""
|
"""
|
||||||
|
|
||||||
candidate = 1 + int(round((1 - (lastQueryDuration - lowerStdLimit) / lastQueryDuration) * conf.timeSec))
|
candidate = 1 + int(round(lowerStdLimit))
|
||||||
|
|
||||||
if candidate:
|
if candidate:
|
||||||
kb.delayCandidates = [candidate] + kb.delayCandidates[:-1]
|
kb.delayCandidates = [candidate] + kb.delayCandidates[:-1]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user