From a8c6c6fca14f2f5bc9b1bae2fe10bf6cf286bed2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 13 Jan 2016 23:47:34 +0100 Subject: [PATCH] Minor update related to the last one --- lib/controller/checks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index ffaf280c6..ff5b9c002 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -714,6 +714,9 @@ def heuristicCheckDbms(injection): randStr1, randStr2 = randomStr(), randomStr() Backend.forceDbms(dbms) + if conf.noEscape and dbms not in FROM_DUMMY_TABLE: + continue + if checkBooleanExpression("(SELECT '%s'%s)='%s'" % (randStr1, FROM_DUMMY_TABLE.get(dbms, ""), randStr1)): if not checkBooleanExpression("(SELECT '%s'%s)='%s'" % (randStr1, FROM_DUMMY_TABLE.get(dbms, ""), randStr2)): retVal = dbms