US consulate was ‘attacked’ by a Pakistani man