Skip to content

Commit a8c6c6f

Browse files
committed
Minor update related to the last one
1 parent 4e29e1b commit a8c6c6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/controller/checks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,9 @@ def heuristicCheckDbms(injection):
714714
randStr1, randStr2 = randomStr(), randomStr()
715715
Backend.forceDbms(dbms)
716716

717+
if conf.noEscape and dbms not in FROM_DUMMY_TABLE:
718+
continue
719+
717720
if checkBooleanExpression("(SELECT '%s'%s)='%s'" % (randStr1, FROM_DUMMY_TABLE.get(dbms, ""), randStr1)):
718721
if not checkBooleanExpression("(SELECT '%s'%s)='%s'" % (randStr1, FROM_DUMMY_TABLE.get(dbms, ""), randStr2)):
719722
retVal = dbms

0 commit comments

Comments
 (0)