Two-step synthesis of substituted 3-aminoindazoles from 2-bromobenzonitriles.