Minor patch (Issue #470)

This commit is contained in:
Miroslav Stampar 2013-06-24 14:37:45 +02:00
parent 4336a8fa7c
commit 95ed6b7203
2 changed files with 3 additions and 2 deletions

View File

@ -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")

View File

@ -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: