mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 21:13:51 +03:00
minor improvement
This commit is contained in:
parent
3badf92ceb
commit
df58bcaf95
|
@ -578,15 +578,10 @@ def __setOS():
|
||||||
raise sqlmapUnsupportedDBMSException, errMsg
|
raise sqlmapUnsupportedDBMSException, errMsg
|
||||||
|
|
||||||
def __setTechnique():
|
def __setTechnique():
|
||||||
if not isinstance(conf.technique, int):
|
if not conf.technique or not isinstance(conf.technique, int):
|
||||||
return
|
conf.technique = []
|
||||||
|
else:
|
||||||
techniques = []
|
conf.technique = filter(lambda x: x in PAYLOAD.SQLINJECTION, [int(c) for c in str(conf.technique)])
|
||||||
while conf.technique > 0:
|
|
||||||
techniques.append(conf.technique % 10)
|
|
||||||
conf.technique /= 10
|
|
||||||
|
|
||||||
conf.technique = techniques
|
|
||||||
|
|
||||||
def __setDBMS():
|
def __setDBMS():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user