mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Minor refactoring
This commit is contained in:
parent
453a6fbc6f
commit
8fda828bc9
7 changed files with 21 additions and 17 deletions
|
|
@ -3222,7 +3222,7 @@ def getTechniqueData(technique=None):
|
|||
Returns injection data for technique specified
|
||||
"""
|
||||
|
||||
return kb.injection.data.get(technique)
|
||||
return kb.injection.data.get(technique if technique is not None else getTechnique())
|
||||
|
||||
def isTechniqueAvailable(technique):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue