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

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
this function checks if the url parameter is dynamic .