Pakistan on Thursday kept their hopes alive and remained in the race for the semi-final stage of the ongoing T20 World Cup in Australia after a victory against South Africa. But their fate still hangs in the balance and is dependent on other results going their way in the group.