mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor fix
This commit is contained in:
@@ -2147,7 +2147,7 @@ def isTechniqueAvailable(technique=None):
|
||||
technique specified
|
||||
"""
|
||||
|
||||
if isinstance(conf.technique, list) and technique not in conf.technique:
|
||||
if conf.technique and isinstance(conf.technique, list) and technique not in conf.technique:
|
||||
return False
|
||||
else:
|
||||
return getTechniqueData(technique) is not None
|
||||
|
||||
Reference in New Issue
Block a user