mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
--technique can now be something like 123 which includes both techniques 1, 2 and 3
This commit is contained in:
@@ -581,10 +581,12 @@ def __setTechnique():
|
||||
if not isinstance(conf.technique, int):
|
||||
return
|
||||
|
||||
if conf.technique < 0 or conf.technique > 5:
|
||||
errMsg = "the value of --technique must be an integer "
|
||||
errMsg += "between 0 and 5"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
techniques = []
|
||||
while conf.technique > 0:
|
||||
techniques.append(conf.technique % 10)
|
||||
conf.technique /= 10
|
||||
|
||||
conf.technique = techniques
|
||||
|
||||
def __setDBMS():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user