Five dead in attack in Pakistan