From d7d565415adc8a2498ba19077f1772c2aef9c4b0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 3 Jun 2016 02:31:31 +0200 Subject: [PATCH] Patch for MySQL fingerprinting --- lib/core/settings.py | 2 +- plugins/dbms/mysql/fingerprint.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 44d8adfa6..bc0d13c13 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.14" +VERSION = "1.0.6.15" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index 48efbfd4e..8cac074ab 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -40,17 +40,18 @@ class Fingerprint(GenericFingerprint): return None - # MySQL valid versions updated on 04/2011 + # Reference: https://downloads.mysql.com/archives/community/ versions = ( (32200, 32235), # MySQL 3.22 (32300, 32359), # MySQL 3.23 (40000, 40032), # MySQL 4.0 (40100, 40131), # MySQL 4.1 (50000, 50092), # MySQL 5.0 - (50100, 50156), # MySQL 5.1 + (50100, 50172), # MySQL 5.1 (50400, 50404), # MySQL 5.4 - (50500, 50521), # MySQL 5.5 - (50600, 50604), # MySQL 5.6 + (50500, 50549), # MySQL 5.5 + (50600, 50630), # MySQL 5.6 + (50700, 50712), # MySQL 5.7 (60000, 60014), # MySQL 6.0 )