mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
removed integers from --technique
This commit is contained in:
parent
fced81b6be
commit
68828d68a5
|
@ -612,8 +612,6 @@ def __setTechnique():
|
||||||
if conf.tech and isinstance(conf.tech, basestring):
|
if conf.tech and isinstance(conf.tech, basestring):
|
||||||
selTechniques = []
|
selTechniques = []
|
||||||
|
|
||||||
# e.g.: BEUST
|
|
||||||
if not conf.tech.isdigit():
|
|
||||||
for letter in conf.tech.upper():
|
for letter in conf.tech.upper():
|
||||||
if letter 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 "
|
||||||
|
@ -626,10 +624,6 @@ def __setTechnique():
|
||||||
selTechniques.append(validInt)
|
selTechniques.append(validInt)
|
||||||
break
|
break
|
||||||
|
|
||||||
# e.g.: 12345
|
|
||||||
else:
|
|
||||||
selTechniques = filter(lambda x: x in PAYLOAD.SQLINJECTION, [int(c) for c in str(conf.tech)])
|
|
||||||
|
|
||||||
conf.tech = selTechniques
|
conf.tech = selTechniques
|
||||||
|
|
||||||
if len(conf.tech) > 0:
|
if len(conf.tech) > 0:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user