Hackers attacked the website of police in the Pakistani city of Rawalpindi late on Thursday but no sensitive data has been compromised, an official said.