mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Little precaution
This commit is contained in:
parent
9230877d98
commit
df5f6bc1b7
|
@ -103,7 +103,8 @@ def checkSqlInjection(place, parameter, value):
|
|||
|
||||
# Skip test if the user's wants to test only for a specific
|
||||
# technique
|
||||
if isinstance(conf.technique, int) and stype != conf.technique:
|
||||
if conf.technique and isinstance(conf.technique, int) and stype != conf.technique:
|
||||
print "conf.technique:", conf.technique
|
||||
debugMsg = "skipping test '%s' because the user " % title
|
||||
debugMsg += "specified to test only for "
|
||||
debugMsg += "%s" % PAYLOAD.SQLINJECTION[conf.technique]
|
||||
|
|
Loading…
Reference in New Issue
Block a user