mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 21:24:13 +03:00
Adding recognition of Azure
This commit is contained in:
parent
6f54be987f
commit
39be0f30d8
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# 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 = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
|
@ -95,7 +95,8 @@ class Fingerprint(GenericFingerprint):
|
||||||
("2012", "CONCAT(NULL,NULL)=CONCAT(NULL,NULL)"),
|
("2012", "CONCAT(NULL,NULL)=CONCAT(NULL,NULL)"),
|
||||||
("2014", "CHARINDEX('12.0.2000',@@version)>0"),
|
("2014", "CHARINDEX('12.0.2000',@@version)>0"),
|
||||||
("2016", "ISJSON(NULL) IS NULL"),
|
("2016", "ISJSON(NULL) IS NULL"),
|
||||||
("2017", "TRIM(NULL) IS NULL")
|
("2017", "TRIM(NULL) IS NULL"),
|
||||||
|
("Azure", "@@VERSION LIKE '%Azure%'"),
|
||||||
):
|
):
|
||||||
result = inject.checkBooleanExpression(check)
|
result = inject.checkBooleanExpression(check)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user