(self, mode)
| 64 | inject.goStacked(agent.runAsDBMSUser(cmd)) |
| 65 | |
| 66 | def _xpCmdshellConfigure2005(self, mode): |
| 67 | debugMsg = "configuring xp_cmdshell using sp_configure " |
| 68 | debugMsg += "stored procedure" |
| 69 | logger.debug(debugMsg) |
| 70 | |
| 71 | cmd = getSQLSnippet(DBMS.MSSQL, "configure_xp_cmdshell", ENABLE=str(mode)) |
| 72 | |
| 73 | return cmd |
| 74 | |
| 75 | def _xpCmdshellConfigure2000(self, mode): |
| 76 | debugMsg = "configuring xp_cmdshell using sp_addextendedproc " |
no test coverage detected