Militants based in the region have retaliated by launching gun and bomb attacks against government workers , police and civilians in Pakistan 's cities .