{"record":{"id":"61593429256a5e3a","repo":"sqlmapproject/sqlmap","slug":"unable-to-proceed-without-xp-cmdshell","errorCode":null,"errorMessage":"unable to proceed without xp_cmdshell","messagePattern":"unable to proceed without xp_cmdshell","errorType":"exception","errorClass":"SqlmapUnsupportedFeatureException","httpStatus":null,"severity":"error","filePath":"lib/takeover/xp_cmdshell.py","lineNumber":292,"sourceCode":"\n                        logger.info(\"creating xp_cmdshell with sp_OACreate\")\n                        self._xpCmdshellConfigure(0)\n                        self._xpCmdshellCreate()\n\n                        if self._xpCmdshellCheck():\n                            logger.info(\"xp_cmdshell created successfully\")\n                            kb.xpCmdshellAvailable = True\n\n                        else:\n                            warnMsg = \"xp_cmdshell creation failed, probably \"\n                            warnMsg += \"because sp_OACreate is disabled\"\n                            logger.warning(warnMsg)\n\n            hashDBWrite(HASHDB_KEYS.KB_XP_CMDSHELL_AVAILABLE, kb.xpCmdshellAvailable)\n\n            if not kb.xpCmdshellAvailable:\n                errMsg = \"unable to proceed without xp_cmdshell\"\n                raise SqlmapUnsupportedFeatureException(errMsg)\n\n        debugMsg = \"creating a support table to write commands standard \"\n        debugMsg += \"output to\"\n        logger.debug(debugMsg)\n\n        # TEXT can't be used here because in error technique you get:\n        # \"The text, ntext, and image data types cannot be compared or sorted\"\n        self.createSupportTbl(self.cmdTblName, self.tblField, \"NVARCHAR(4000)\")\n\n        self._xpCmdshellTest()\n","sourceCodeStart":274,"sourceCodeEnd":303,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/takeover/xp_cmdshell.py#L274-L303","documentation":"Error \"unable to proceed without xp_cmdshell\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/takeover/xp_cmdshell.py:292 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}