mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
major refactoring
This commit is contained in:
parent
1bf8939e2f
commit
1e9ae40397
7 changed files with 646 additions and 61 deletions
|
|
@ -1241,6 +1241,14 @@ def calculateDeltaSeconds(start, epsilon=0.05):
|
|||
"""
|
||||
return int(time.time() - start + epsilon)
|
||||
|
||||
def getInjectionCase(name):
|
||||
retVal = None
|
||||
for case in kb.injections.root.case:
|
||||
if case.name == name:
|
||||
retVal = case
|
||||
break
|
||||
return retVal
|
||||
|
||||
def initCommonOutputs():
|
||||
kb.commonOutputs = {}
|
||||
key = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue