Minor update (switching --invalid-logical to LIKE version)

This commit is contained in:
Miroslav Stampar
2018-06-07 00:37:22 +02:00
parent 86303bde55
commit 091c8ab2dd
4 changed files with 6 additions and 6 deletions

View File

@@ -433,7 +433,7 @@ def checkSqlInjection(place, parameter, value):
if conf.invalidLogical:
_ = int(kb.data.randomInt[:2])
origValue = "%s AND %s=%s" % (value, _, _ + 1)
origValue = "%s AND %s LIKE %s" % (value, _, _ + 1)
elif conf.invalidBignum:
origValue = kb.data.randomInt[:6]
elif conf.invalidString: