From 76024c455f5104fef54f1b04809fd4fe47d611bc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 Dec 2010 11:15:43 +0000 Subject: [PATCH] minor fix (using older commands for basic MySQL check) --- plugins/dbms/mysql/fingerprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index 1b6affeb0..3cd159981 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -170,7 +170,7 @@ class Fingerprint(GenericFingerprint): infoMsg = "confirming MySQL" logger.info(infoMsg) - result = inject.checkBooleanExpression("ISNULL(1 DIV 0)") + result = inject.checkBooleanExpression("USER()=USER()") if not result: warnMsg = "the back-end DBMS is not MySQL"