mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
minor beautification
This commit is contained in:
parent
96aacbf945
commit
b9ae28dd5e
|
@ -681,7 +681,7 @@ def __setTechnique():
|
||||||
validLetters = map(lambda x: x[0][0].upper(), validTechniques)
|
validLetters = map(lambda x: x[0][0].upper(), validTechniques)
|
||||||
|
|
||||||
if conf.tech and isinstance(conf.tech, basestring):
|
if conf.tech and isinstance(conf.tech, basestring):
|
||||||
selTechniques = []
|
_ = []
|
||||||
|
|
||||||
for letter in conf.tech.upper():
|
for letter in conf.tech.upper():
|
||||||
if letter not in validLetters:
|
if letter not in validLetters:
|
||||||
|
@ -692,10 +692,10 @@ def __setTechnique():
|
||||||
|
|
||||||
for validTech, validInt in validTechniques:
|
for validTech, validInt in validTechniques:
|
||||||
if letter == validTech[0]:
|
if letter == validTech[0]:
|
||||||
selTechniques.append(validInt)
|
_.append(validInt)
|
||||||
break
|
break
|
||||||
|
|
||||||
conf.tech = selTechniques
|
conf.tech = _
|
||||||
|
|
||||||
if len(conf.tech) > 0:
|
if len(conf.tech) > 0:
|
||||||
# TODO: consider MySQL/PHP/ASP/web backdoor case where stacked
|
# TODO: consider MySQL/PHP/ASP/web backdoor case where stacked
|
||||||
|
|
Loading…
Reference in New Issue
Block a user