Identification, synthesis, and pharmacological evaluation of tetrahydroindazole based ligands as novel antituberculosis agents.