From fcd69ba9c72ce0a0495170606284bd565a455b0b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 1 May 2011 07:37:22 +0000 Subject: [PATCH] fix for a --technique=U --- lib/core/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index 48ab6d945..55cb141f4 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -447,7 +447,7 @@ class Agent: else: return query - if Backend.isDbms(DBMS.MYSQL): + if Backend.getIdentifiedDbms() == DBMS.MYSQL: if fieldsExists: concatenatedQuery = concatenatedQuery.replace("SELECT ", "CONCAT('%s'," % kb.misc.start, 1) concatenatedQuery += ",'%s')" % kb.misc.stop