From c7e16496557afe1804d68bb6b81b57ffd1adc5e8 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 12 Jan 2010 11:43:32 +0000 Subject: [PATCH] Minor speedup --- plugins/dbms/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbms/mysql.py b/plugins/dbms/mysql.py index c778df2a3..72587692c 100644 --- a/plugins/dbms/mysql.py +++ b/plugins/dbms/mysql.py @@ -287,7 +287,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover): return True # Check if it is MySQL >= 5.5.0 - if inject.getValue("SELECT MID(TO_SECONDS(950501), 1, 1)", unpack=False) == "6": + if inject.getValue("SELECT MID(TO_SECONDS(950501), 1, 1)", unpack=False, charsetType=2) == "6": kb.dbmsVersion = [">= 5.5.0"] # Check if it is MySQL >= 5.1.2 and < 5.5.0