Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7d5654

Browse files
committed
Patch for MySQL fingerprinting
1 parent 0986ec8 commit d7d5654

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.14"
22+
VERSION = "1.0.6.15"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

plugins/dbms/mysql/fingerprint.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,18 @@ def _commentCheck(self):
4040

4141
return None
4242

43-
# MySQL valid versions updated on 04/2011
43+
# Reference: https://downloads.mysql.com/archives/community/
4444
versions = (
4545
(32200, 32235), # MySQL 3.22
4646
(32300, 32359), # MySQL 3.23
4747
(40000, 40032), # MySQL 4.0
4848
(40100, 40131), # MySQL 4.1
4949
(50000, 50092), # MySQL 5.0
50-
(50100, 50156), # MySQL 5.1
50+
(50100, 50172), # MySQL 5.1
5151
(50400, 50404), # MySQL 5.4
52-
(50500, 50521), # MySQL 5.5
53-
(50600, 50604), # MySQL 5.6
52+
(50500, 50549), # MySQL 5.5
53+
(50600, 50630), # MySQL 5.6
54+
(50700, 50712), # MySQL 5.7
5455
(60000, 60014), # MySQL 6.0
5556
)
5657

0 commit comments

Comments
 (0)