From 5db8ebbfa9578d2c8818f4bc3a686f561b1ae57e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 31 Dec 2010 12:42:12 +0000 Subject: [PATCH] update of mysql comment versions --- lib/controller/controller.py | 2 +- plugins/dbms/mysql/fingerprint.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index a19f8b6ad..72732f934 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -378,7 +378,7 @@ def start(): if len(kb.injections) == 0 or (len(kb.injections) == 1 and kb.injections[0].place is None): if not conf.realTest: errMsg = "all parameters are not injectable, try " - errMsg += "a higher --level" + errMsg += "a higher --level/--risk and/or --text-only switch" raise sqlmapNotVulnerableException, errMsg else: errMsg = "it seems that all parameters are not injectable" diff --git a/plugins/dbms/mysql/fingerprint.py b/plugins/dbms/mysql/fingerprint.py index 13e3c5086..2e923b4e7 100644 --- a/plugins/dbms/mysql/fingerprint.py +++ b/plugins/dbms/mysql/fingerprint.py @@ -49,15 +49,15 @@ class Fingerprint(GenericFingerprint): # MySQL valid versions updated on 01/2010 versions = ( - (32200, 32234), # MySQL 3.22 - (32300, 32360), # MySQL 3.23 + (32200, 32235), # MySQL 3.22 + (32300, 32359), # MySQL 3.23 (40000, 40032), # MySQL 4.0 - (40100, 40123), # MySQL 4.1 - (50000, 50090), # MySQL 5.0 - (50100, 50142), # MySQL 5.1 - (50400, 50405), # MySQL 5.4 - (50500, 50502), # MySQL 5.5 - (60000, 60011), # MySQL 6.0 + (40100, 40131), # MySQL 4.1 + (50000, 50092), # MySQL 5.0 + (50100, 50154), # MySQL 5.1 + (50400, 50404), # MySQL 5.4 + (50500, 50509), # MySQL 5.5 + (60000, 60014), # MySQL 6.0 ) index = -1