mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
added response time kb attribute
This commit is contained in:
parent
73dfb69308
commit
612ee08a0b
4 changed files with 6 additions and 3 deletions
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue