mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
minor update
This commit is contained in:
parent
845533e92f
commit
fced81b6be
|
@ -614,15 +614,15 @@ def __setTechnique():
|
||||||
|
|
||||||
# e.g.: BEUST
|
# e.g.: BEUST
|
||||||
if not conf.tech.isdigit():
|
if not conf.tech.isdigit():
|
||||||
for letter in conf.tech:
|
for letter in conf.tech.upper():
|
||||||
if letter.upper() not in validLetters:
|
if letter not in validLetters:
|
||||||
errMsg = "value for --technique must be a string composed "
|
errMsg = "value for --technique must be a string composed "
|
||||||
errMsg += "by the letters %s. Refer to the " % ",".join(validLetters)
|
errMsg += "by the letters %s. Refer to the " % ",".join(validLetters)
|
||||||
errMsg += "user's manual for details"
|
errMsg += "user's manual for details"
|
||||||
raise sqlmapSyntaxException, errMsg
|
raise sqlmapSyntaxException, errMsg
|
||||||
|
|
||||||
for validTech, validInt in validTechniques:
|
for validTech, validInt in validTechniques:
|
||||||
if letter.upper() == validTech[0]:
|
if letter == validTech[0]:
|
||||||
selTechniques.append(validInt)
|
selTechniques.append(validInt)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user