Australia's gamble with a ring-in bowling attack paid off on day one of the third test, but South Africa's big guns had the final say as the Proteas rallied hard in their fight to protect their world No 1 ranking.
South Africa were bowled out for only 225 yesterday - and without another defiant knock from rookie batsman Faf du Plessis (78no) they might not have made it to 100.
But after the change of innings late in the piece, Dale Steyn (1-21) and Vernon Philander (1-8) immediately struck back in the 11 remaining overs to leave Australia 2-33 at stumps.
South Africa lead by 192 runs, and if the game's premier fast bowling attack continues to fire on day two, the match with seemingly everything on the line, is very much alive in Perth.
The WACA crowd thought retiring ex-captain and batting star Ricky Ponting was coming to the crease with 25 minutes left in the day, after Ed Cowan (0) and Shane Watson (10) continued the flimsy run of form from Australia's top three.
Applause erupted when the next batsman appeared - but it was nightwatchman Nathan Lyon joining David Warner, meaning Ponting was saved from having to make a difficult start to what everyone hopes will be a fairytale last-test innings after a run of failures.
Steyn had Cowan caught at second slip from just the third ball of the innings, and Philander made a spot-on decision to go for a review that had Watson ruled out lbw.
At stumps, Lyon was on 7 and Warner on 12.
The late drama threatened to undo some of the brilliant work done by Australia's underdog bowlers.
Lyon (3-41) was the only survivor from the second test in Adelaide, leaving pacemen Mitchell Johnson and Mitchell Starc, debutant John Hastings and Shane Watson to play their first tests for the summer in the deciding match.
On paper, Australia looked enormously vulnerable after deciding to leave out battle-weary Peter Siddle and Ben Hilfenhaus in favour of a debutant and three bowlers who hadn't played test cricket in months.
But in Johnson's first test in more than 12 months, he rediscovered some of his best form and was unlucky not to have more than 2-54.
Lyon broke potentially troublesome partnerships in the tail, and 22-year-old Starc (2-55) recovered from an inconsistent opening spell to bowl Alviro Petersen (30) and Jacques Kallis (2) before lunch.
Watson (1-22) did his job when injected into the attack, getting Graeme Smith (16) cheaply, and Hastings (1-51) overcame a simple dropped chance off his bowling from Ed Cowan, to claim AB de Villiers (4) as his first test scalp from his next over.
Hashim Amla was the man dropped by Cowan, but it mattered little as David Warner ran out the No 3 batsman with a direct hit during Johnson's next over.
Du Plessis came to the crease at 5-67, and at one point South Africa had lost 5-14 in eight overs.
- AAP