mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-28 20:16:28 +00:00
minor fix
This commit is contained in:
parent
22cd49a217
commit
6cdf08b81c
2 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ def checkSqlInjection(place, parameter, value):
|
|||
|
||||
# Skip test if the user's wants to test only for a specific
|
||||
# technique
|
||||
if isinstance(conf.technique, list) and stype not in conf.technique:
|
||||
if conf.technique and isinstance(conf.technique, list) and stype not in conf.technique:
|
||||
debugMsg = "skipping test '%s' because the user " % title
|
||||
debugMsg += "specified to test only for "
|
||||
debugMsg += "%s" % ",".join(map(lambda x: PAYLOAD.SQLINJECTION[x], conf.technique))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue