Minor update of fingerprints

This commit is contained in:
Miroslav Stampar 2019-03-12 14:10:34 +01:00
parent 77e1383855
commit 136342231e
4 changed files with 12 additions and 10 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
from lib.core.enums import OS
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.3.21"
VERSION = "1.3.3.22"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

View File

@ -45,11 +45,11 @@ class Fingerprint(GenericFingerprint):
(32300, 32359), # MySQL 3.23
(40000, 40032), # MySQL 4.0
(40100, 40131), # MySQL 4.1
(50000, 50096), # MySQL 5.0
(50100, 50172), # MySQL 5.1
(50000, 50097), # MySQL 5.0
(50100, 50174), # MySQL 5.1
(50400, 50404), # MySQL 5.4
(50500, 50564), # MySQL 5.5
(50600, 50644), # MySQL 5.6
(50500, 50562), # MySQL 5.5
(50600, 50646), # MySQL 5.6
(50700, 50726), # MySQL 5.7
(60000, 60014), # MySQL 6.0
(80000, 80015), # MySQL 8.0

View File

@ -97,8 +97,10 @@ class Fingerprint(GenericFingerprint):
infoMsg = "actively fingerprinting %s" % DBMS.PGSQL
logger.info(infoMsg)
if inject.checkBooleanExpression("XMLTABLE(NULL) IS NULL"):
Backend.setVersion(">= 10.0")
if inject.checkBooleanExpression("SHA256(NULL) IS NULL"):
Backend.setVersion(">= 11.0")
elif inject.checkBooleanExpression("XMLTABLE(NULL) IS NULL"):
Backend.setVersionList([">= 10.0", "< 11.0"])
elif inject.checkBooleanExpression("SIND(0)=0"):
Backend.setVersionList([">= 9.6.0", "< 10.0"])
elif inject.checkBooleanExpression("TO_JSONB(1) IS NOT NULL"):

View File

@ -50,7 +50,7 @@ d5ef43fe3cdd6c2602d7db45651f9ceb lib/core/readlineng.py
7d8a22c582ad201f65b73225e4456170 lib/core/replication.py
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
2b13a6e41ad1b354ff2a3f60a6fba723 lib/core/settings.py
a6370a4c60104413c514c021f8409a44 lib/core/settings.py
4483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
10fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
d9483455ff80d33a55db46ae2fa34a05 lib/core/target.py
@ -181,7 +181,7 @@ a5aa91bd7248d4f7ad508cf69f45696d plugins/dbms/mssqlserver/takeover.py
dbd6121fcc92249ee0c023ee28e30274 plugins/dbms/mysql/connector.py
a94bde2f4dcf3a5f166302d07ea32907 plugins/dbms/mysql/enumeration.py
81c762ceba0892d0d6d78d70f513d20a plugins/dbms/mysql/filesystem.py
fd79ec2504b6bada7d2da233a549af53 plugins/dbms/mysql/fingerprint.py
24088cb4e6f163b4eaf9310a7bc6907d plugins/dbms/mysql/fingerprint.py
040835bde6be85ebc1a6667dcd08940e plugins/dbms/mysql/__init__.py
dd6bd1d3d561755b96e953ede16cb8fc plugins/dbms/mysql/syntax.py
6c91ef5b5a6cd29cef4bd9bc3c369454 plugins/dbms/mysql/takeover.py
@ -195,7 +195,7 @@ c7bb3f112aad2ea7ea92e036e9aab6a7 plugins/dbms/oracle/__init__.py
393a17dc8cb982ebb27665ead6b84bf1 plugins/dbms/postgresql/connector.py
86f0e0c9c4bc155c93277e879e3c3311 plugins/dbms/postgresql/enumeration.py
d68b5a9d6e608f15fbe2c520613ece4a plugins/dbms/postgresql/filesystem.py
2af014c49f103cb27bc547cc12641e2b plugins/dbms/postgresql/fingerprint.py
a2ac0498d89797041bf65e4990cf8430 plugins/dbms/postgresql/fingerprint.py
fb018fd23dcebdb36dddd22ac92efa2c plugins/dbms/postgresql/__init__.py
290ea28e1215565d9d12ede3422a4dcf plugins/dbms/postgresql/syntax.py
339bc65824b5c946ec40a12cd0257df1 plugins/dbms/postgresql/takeover.py