mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
added response time kb attribute
This commit is contained in:
@@ -1290,12 +1290,12 @@ def readXmlFile(xmlFile):
|
||||
xfile.close()
|
||||
return retVal
|
||||
|
||||
def calculateDeltaSeconds(start, epsilon=0.05):
|
||||
def calculateDeltaSeconds(start, epsilon=0.1):
|
||||
"""
|
||||
Returns elapsed time from start till now (including expected
|
||||
error set by epsilon parameter)
|
||||
"""
|
||||
return int(time.time() - start + epsilon)
|
||||
return int(time.time() - start - kb.responseTime + epsilon)
|
||||
|
||||
def initCommonOutputs():
|
||||
kb.commonOutputs = {}
|
||||
|
||||
Reference in New Issue
Block a user