mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor patch (Issue #470)
This commit is contained in:
parent
4336a8fa7c
commit
95ed6b7203
|
@ -44,7 +44,7 @@ class Xp_cmdshell:
|
|||
def _xpCmdshellCreate(self):
|
||||
cmd = ""
|
||||
|
||||
if Backend.isVersionWithin(("2005", "2008")):
|
||||
if Backend.isVersionWithin(("2005", "2008", "2012")):
|
||||
logger.debug("activating sp_OACreate")
|
||||
|
||||
cmd = getSQLSnippet(DBMS.MSSQL, "activate_sp_oacreate")
|
||||
|
|
|
@ -92,7 +92,8 @@ class Fingerprint(GenericFingerprint):
|
|||
|
||||
for version, check in (("2000", "HOST_NAME()=HOST_NAME()"), \
|
||||
("2005", "XACT_STATE()=XACT_STATE()"), \
|
||||
("2008", "SYSDATETIME()=SYSDATETIME()")):
|
||||
("2008", "SYSDATETIME()=SYSDATETIME()"), \
|
||||
("2012", "CONCAT(NULL,NULL)=CONCAT(NULL,NULL)")):
|
||||
result = inject.checkBooleanExpression(check)
|
||||
|
||||
if result:
|
||||
|
|
Loading…
Reference in New Issue
Block a user