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

Skip to content

Commit 3a11d36

Browse files
committed
minor bug fix
1 parent cb15fcc commit 3a11d36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def checkSqlInjection(place, parameter, value):
315315
# one as we are changing parameters value, which
316316
# will likely result in a different content
317317
if conf.invalidLogical:
318-
origValue = "%s AND %s=%s" % (origValue, randomInt(), randomInt())
318+
origValue = "%s AND %s=%s" % (value, randomInt(), randomInt())
319319
elif conf.invalidBignum:
320320
origValue = "%d.%d" % (randomInt(6), randomInt(1))
321321
else:

0 commit comments

Comments
 (0)