()
Check and set the DBMS authentication credentials to run statements as
    another user, not the session user
Check and set the DBMS authentication credentials to run statements as
    another user, not the session user
Check and set the DBMS authentication credentials to run statements as another user not the session user
def _setDBMSAuthentication():
    """
    Check and set the DBMS authentication credentials to run statements as
    another user, not the session user
    """

    if not conf.dbmsCred:
        return

    debugMsg = "setting the DBMS authentication credentials"
    logger.debug(debugMsg)

    match = re.search("^(.+?):(.*?)$", conf.dbmsCred)

    if not match:
        errMsg = "DBMS authentication credentials value must be in format "
        errMsg += "username:password"
        raise SqlmapSyntaxException(errMsg)

    conf.dbmsUsername = match.group(1)
    conf.dbmsPassword = match.group(2)
def _setDBMSAuthentication ( ) : if not conf . dbmsCred : return debugMsg = "setting the DBMS authentication credentials" logger . debug ( debugMsg ) match = re . search ( "^(.+?):(.*?)$" , conf . dbmsCred ) if not match : errMsg = "DBMS authentication credentials value must be in format " errMsg += "username:password" raise SqlmapSyntaxException ( errMsg ) conf . dbmsUsername = match . group ( 1 ) conf . dbmsPassword = match . group ( 2 )