minor bug fix

This commit is contained in:
Miroslav Stampar
2012-02-25 22:54:32 +00:00
parent 5d307cf886
commit 85125018a1
3 changed files with 3 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ class xp_cmdshell:
warnMsg += "because sp_OACreate is disabled"
logger.warn(warnMsg)
hashDBWrite(HASHDB_KEYS.XP_CMDSHELL_AVAILABLE, kb.xpCmdshellAvailable)
hashDBWrite(HASHDB_KEYS.KB_XP_CMDSHELL_AVAILABLE, kb.xpCmdshellAvailable)
if not kb.xpCmdshellAvailable:
errMsg = "unable to proceed without xp_cmdshell"