mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
closes #219 - unhidden switch --technique and adapted code accordingly (renamed conf.technique to conf.tech to fit properly in the -h help message)
This commit is contained in:
@@ -2177,7 +2177,7 @@ def isTechniqueAvailable(technique=None):
|
||||
technique specified
|
||||
"""
|
||||
|
||||
if conf.technique and isinstance(conf.technique, list) and technique not in conf.technique:
|
||||
if conf.tech and isinstance(conf.tech, list) and technique not in conf.tech:
|
||||
return False
|
||||
else:
|
||||
return getTechniqueData(technique) is not None
|
||||
|
||||
Reference in New Issue
Block a user