Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df5f6bc

Browse files
committed
Little precaution
1 parent 9230877 commit df5f6bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ def checkSqlInjection(place, parameter, value):
103103

104104
# Skip test if the user's wants to test only for a specific
105105
# technique
106-
if isinstance(conf.technique, int) and stype != conf.technique:
106+
if conf.technique and isinstance(conf.technique, int) and stype != conf.technique:
107+
print "conf.technique:", conf.technique
107108
debugMsg = "skipping test '%s' because the user " % title
108109
debugMsg += "specified to test only for "
109110
debugMsg += "%s" % PAYLOAD.SQLINJECTION[conf.technique]

0 commit comments

Comments
 (0)