mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +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:
@@ -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)
|
||||
Reference in New Issue
Block a user