Adding recognition of Azure

This commit is contained in:
Miroslav Stampar 2020-01-25 16:49:32 +01:00
parent 6f54be987f
commit 39be0f30d8
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.4.1.48"
VERSION = "1.4.1.49"
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

@ -95,7 +95,8 @@ class Fingerprint(GenericFingerprint):
("2012", "CONCAT(NULL,NULL)=CONCAT(NULL,NULL)"),
("2014", "CHARINDEX('12.0.2000',@@version)>0"),
("2016", "ISJSON(NULL) IS NULL"),
("2017", "TRIM(NULL) IS NULL")
("2017", "TRIM(NULL) IS NULL"),
("Azure", "@@VERSION LIKE '%Azure%'"),
):
result = inject.checkBooleanExpression(check)