From 126cdf9e196f8eee5282cf75a478ad8ce67cbad8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 19 May 2011 23:28:27 +0000 Subject: [PATCH] minor info update --- plugins/dbms/mysql/fingerprint.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index a09a7302a..d06b9a791 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -187,9 +187,10 @@ class Fingerprint(GenericFingerprint): return False - # Determine if it is MySQL >= 5.0.0 # reading information_schema on some platforms is causing annoying timeout exits - #if inject.checkBooleanExpression("EXISTS(SELECT %s FROM information_schema.TABLES)" % randInt): + # Reference: http://bugs.mysql.com/bug.php?id=15855 + + # Determine if it is MySQL >= 5.0.0 if inject.checkBooleanExpression("ISNULL(TIMESTAMPADD(MINUTE,%s,%s))" % (randInt, randInt)): kb.data.has_information_schema = True Backend.setVersion(">= 5.0.0")