mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Minor update
This commit is contained in:
@@ -41,6 +41,8 @@ class Fingerprint(GenericFingerprint):
|
||||
return None
|
||||
|
||||
# Reference: https://downloads.mysql.com/archives/community/
|
||||
# Reference: https://dev.mysql.com/doc/relnotes/mysql/<major>.<minor>/en/
|
||||
|
||||
versions = (
|
||||
(32200, 32235), # MySQL 3.22
|
||||
(32300, 32359), # MySQL 3.23
|
||||
@@ -50,10 +52,10 @@ class Fingerprint(GenericFingerprint):
|
||||
(50100, 50174), # MySQL 5.1
|
||||
(50400, 50404), # MySQL 5.4
|
||||
(50500, 50562), # MySQL 5.5
|
||||
(50600, 50646), # MySQL 5.6
|
||||
(50700, 50726), # MySQL 5.7
|
||||
(50600, 50648), # MySQL 5.6
|
||||
(50700, 50730), # MySQL 5.7
|
||||
(60000, 60014), # MySQL 6.0
|
||||
(80000, 80017), # MySQL 8.0
|
||||
(80000, 80021), # MySQL 8.0
|
||||
)
|
||||
|
||||
index = -1
|
||||
|
||||
@@ -105,7 +105,7 @@ class Fingerprint(GenericFingerprint):
|
||||
logger.info(infoMsg)
|
||||
|
||||
# Reference: https://en.wikipedia.org/wiki/Oracle_Database
|
||||
for version in ("18c", "12c", "11g", "10g", "9i", "8i", "7"):
|
||||
for version in ("19c", "18c", "12c", "11g", "10g", "9i", "8i", "7"):
|
||||
number = int(re.search(r"([\d]+)", version).group(1))
|
||||
output = inject.checkBooleanExpression("%d=(SELECT SUBSTR((VERSION),1,%d) FROM SYS.PRODUCT_COMPONENT_VERSION WHERE ROWNUM=1)" % (number, 1 if number < 10 else 2))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user