Terrorists planning for an attack: Nisar