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

Skip to content

Commit 39be0f3

Browse files
committed
Adding recognition of Azure
1 parent 6f54be9 commit 39be0f3

2 files changed

Lines changed: 3 additions & 2 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.4.1.48"
21+
VERSION = "1.4.1.49"
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
@@ -95,7 +95,8 @@ def checkDbms(self):
9595
("2012", "CONCAT(NULL,NULL)=CONCAT(NULL,NULL)"),
9696
("2014", "CHARINDEX('12.0.2000',@@version)>0"),
9797
("2016", "ISJSON(NULL) IS NULL"),
98-
("2017", "TRIM(NULL) IS NULL")
98+
("2017", "TRIM(NULL) IS NULL"),
99+
("Azure", "@@VERSION LIKE '%Azure%'"),
99100
):
100101
result = inject.checkBooleanExpression(check)
101102

0 commit comments

Comments
 (0)