mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
now --technique is appliable also after the injections have been identified
This commit is contained in:
parent
c188996627
commit
6cc69f5e16
|
@ -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):
|
||||
"""
|
||||
|
|
|
@ -526,7 +526,7 @@ def cmdLineParser():
|
|||
default=False, help=SUPPRESS_HELP)
|
||||
|
||||
parser.add_option("--technique", dest="technique", type="int",
|
||||
default=False, help=SUPPRESS_HELP)
|
||||
default=0, help=SUPPRESS_HELP)
|
||||
|
||||
parser.add_option_group(target)
|
||||
parser.add_option_group(request)
|
||||
|
|
Loading…
Reference in New Issue
Block a user