Apex court tells govt. to act on a ‘war footing’