Quinton de Kock produced a batting masterclass as South Africa crushed Pakistan by eight wickets in the second ODI in Faisalabad, chasing down 270 with nearly 10 overs to spare to level the three-match series 1-1.