mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
added calculateDeltaSeconds method for dealing with non-deterministic time behaviour in some cases (e.g. WAITFOR DELAY in case of MSSQL)
This commit is contained in:
parent
762781e94d
commit
ca3e12ae73
6 changed files with 16 additions and 8 deletions
|
|
@ -1107,3 +1107,6 @@ def parseXmlFile(xmlFile, handler):
|
|||
parse(stream, handler)
|
||||
stream.close()
|
||||
xfile.close()
|
||||
|
||||
def calculateDeltaSeconds(start, epsilon=0.05):
|
||||
return int(time.time() - start + epsilon)
|
||||
Loading…
Add table
Add a link
Reference in a new issue