now --technique is appliable also after the injections have been identified

This commit is contained in:
Miroslav Stampar
2011-01-24 16:47:24 +00:00
parent c188996627
commit 6cc69f5e16
2 changed files with 5 additions and 3 deletions

View File

@@ -1846,8 +1846,10 @@ def isTechniqueAvailable(technique=None):
Returns True if there is injection data which sqlmap could use for
technique specified
"""
return getTechniqueData(technique) is not None
if conf.technique and technique != conf.technique:
return False
else:
return getTechniqueData(technique) is not None
def initTechnique(technique=None):
"""