mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor fix
This commit is contained in:
parent
22cd49a217
commit
6cdf08b81c
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue