(place, parameter, value)
return result
This function checks if the URL parameter is dynamic. If it is
    dynamic, the content of the page differs, otherwise the
    dynamicity might depend on another parameter.
This function checks if the URL parameter is dynamic. If it is
    dynamic, the content of the page differs, otherwise the
    dynamicity might depend on another parameter.
This function checks if the URL parameter is dynamic . If it is dynamic the content of the page differs otherwise the dynamicity might depend on another parameter .
def checkDynParam(place, parameter, value):
    """
    This function checks if the URL parameter is dynamic. If it is
    dynamic, the content of the page differs, otherwise the
    dynamicity might depend on another parameter.
    """

    if kb.redirectChoice:
        return None

    kb.matchRatio = None
    dynResult = None
    randInt = randomInt()

    paramType = conf.method if conf.method not in (None, HTTPMETHOD.GET, HTTPMETHOD.POST) else place

    infoMsg = "testing if %s parameter '%s' is dynamic" % (paramType, parameter)
    logger.info(infoMsg)

    try:
        payload = agent.payload(place, parameter, value, getUnicode(randInt))
        dynResult = Request.queryPage(payload, place, raise404=False)

        if not dynResult:
            infoMsg = "confirming that %s parameter '%s' is dynamic" % (paramType, parameter)
            logger.info(infoMsg)

            randInt = randomInt()
            payload = agent.payload(place, parameter, value, getUnicode(randInt))
            dynResult = Request.queryPage(payload, place, raise404=False)
    except SqlmapConnectionException:
        pass

    result = None if dynResult is None else not dynResult
    kb.dynamicParameter = result

    return result
def checkDynParam ( place , parameter , value ) : if kb . redirectChoice : return None kb . matchRatio = None dynResult = None randInt = randomInt ( ) paramType = conf . method if conf . method not in ( None , HTTPMETHOD . GET , HTTPMETHOD . POST ) else place infoMsg = "testing if %s parameter '%s' is dynamic" % ( paramType , parameter ) logger . info ( infoMsg ) try : payload = agent . payload ( place , parameter , value , getUnicode ( randInt ) ) dynResult = Request . queryPage ( payload , place , raise404 = False ) if not dynResult : infoMsg = "confirming that %s parameter '%s' is dynamic" % ( paramType , parameter ) logger . info ( infoMsg ) randInt = randomInt ( ) payload = agent . payload ( place , parameter , value , getUnicode ( randInt ) ) dynResult = Request . queryPage ( payload , place , raise404 = False ) except SqlmapConnectionException : pass result = None if dynResult is None else not dynResult kb . dynamicParameter = result return result