From ebde4b190e4042660a34a401721e269f1c5a55d0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 10 Jan 2013 11:42:37 +0100 Subject: [PATCH] Minor update --- plugins/dbms/mysql/fingerprint.py | 2 +- xml/queries.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index 1acc5fb3b..ef89fcc29 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -174,7 +174,7 @@ class Fingerprint(GenericFingerprint): infoMsg = "confirming %s" % DBMS.MYSQL logger.info(infoMsg) - result = inject.checkBooleanExpression("USER()=USER()") + result = inject.checkBooleanExpression("USER() LIKE USER()") if not result: warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL diff --git a/xml/queries.xml b/xml/queries.xml index 25630719e..b6f3b2820 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -397,8 +397,7 @@ - - +