def unionTest(comment, place, parameter, value, prefix, suffix):
 if conf.direct:
  return
 kb.technique = PAYLOAD.TECHNIQUE.UNION
 (validPayload, vector) = _unionTestByCharBruteforce(comment, place, parameter, value, prefix, suffix)
 if validPayload:
  validPayload = agent.removePayloadDelimiters(validPayload)
 return (validPayload, vector)

def unionTest ( comment , place , parameter , value , prefix , suffix ) : if conf . direct : return kb . technique = PAYLOAD . TECHNIQUE . UNION ( validPayload , vector ) = _unionTestByCharBruteforce ( comment , place , parameter , value , prefix , suffix ) if validPayload : validPayload = agent . removePayloadDelimiters ( validPayload ) return ( validPayload , vector )
this method tests if the target url is affected by an union sql injection vulnerability .