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

Skip to content

Commit bb61b08

Browse files
committed
Minor update of fingerprints
1 parent 2d63441 commit bb61b08

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.9.1"
21+
VERSION = "1.3.9.2"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

plugins/dbms/mssqlserver/fingerprint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def checkDbms(self):
9494
("2008", "SYSDATETIME()=SYSDATETIME()"),
9595
("2012", "CONCAT(NULL,NULL)=CONCAT(NULL,NULL)"),
9696
("2014", "CHARINDEX('12.0.2000',@@version)>0"),
97-
("2016", "ISJSON(NULL) IS NULL")
97+
("2016", "ISJSON(NULL) IS NULL"),
98+
("2017", "TRIM(NULL) IS NULL")
9899
):
99100
result = inject.checkBooleanExpression(check)
100101

plugins/dbms/mysql/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _commentCheck(self):
5353
(50600, 50646), # MySQL 5.6
5454
(50700, 50726), # MySQL 5.7
5555
(60000, 60014), # MySQL 6.0
56-
(80000, 80015), # MySQL 8.0
56+
(80000, 80017), # MySQL 8.0
5757
)
5858

5959
index = -1

plugins/dbms/oracle/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def checkDbms(self):
105105
logger.info(infoMsg)
106106

107107
# Reference: https://en.wikipedia.org/wiki/Oracle_Database
108-
for version in ("18c", "12c", "11g", "10g", "9i", "8i"):
108+
for version in ("18c", "12c", "11g", "10g", "9i", "8i", "7"):
109109
number = int(re.search(r"([\d]+)", version).group(1))
110110
output = inject.checkBooleanExpression("%d=(SELECT SUBSTR((VERSION),1,%d) FROM SYS.PRODUCT_COMPONENT_VERSION WHERE ROWNUM=1)" % (number, 1 if number < 10 else 2))
111111

0 commit comments

Comments
 (0)