{"record":{"id":"4f3c686b30784f58","repo":"sqlmapproject/sqlmap","slug":"dbms-authentication-credentials-value-must-be-in-f","errorCode":null,"errorMessage":"DBMS authentication credentials value must be in format username:password","messagePattern":"DBMS authentication credentials value must be in format username:password","errorType":"exception","errorClass":"SqlmapSyntaxException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":636,"sourceCode":"\ndef _setDBMSAuthentication():\n    \"\"\"\n    Check and set the DBMS authentication credentials to run statements as\n    another user, not the session user\n    \"\"\"\n\n    if not conf.dbmsCred:\n        return\n\n    debugMsg = \"setting the DBMS authentication credentials\"\n    logger.debug(debugMsg)\n\n    match = re.search(r\"^(.+?):(.*?)$\", conf.dbmsCred)\n\n    if not match:\n        errMsg = \"DBMS authentication credentials value must be in format \"\n        errMsg += \"username:password\"\n        raise SqlmapSyntaxException(errMsg)\n\n    conf.dbmsUsername = match.group(1)\n    conf.dbmsPassword = match.group(2)\n\ndef _setMetasploit():\n    if not conf.osPwn and not conf.osSmb and not conf.osBof:\n        return\n\n    debugMsg = \"setting the takeover out-of-band functionality\"\n    logger.debug(debugMsg)\n\n    msfEnvPathExists = False\n\n    if IS_WIN:\n        try:\n            __import__(\"win32file\")\n        except ImportError:\n            errMsg = \"sqlmap requires third-party module 'pywin32' \"","sourceCodeStart":618,"sourceCodeEnd":654,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L618-L654","documentation":"Error \"DBMS authentication credentials value must be in format username:password\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/core/option.py:636 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"}