South Africa's bowlers rallied magnificently after the loss of pace spearhead Dale Steyn before their batsmen pushed to an 102-run lead at the close on day two of the first Test against Australia Friday. Steyn left the field with a shoulder injury before lunch and was later ruled out of the series with a stress fracture in a hammer blow for the touring side. But the remaining Proteas bowlers ripped out the hosts for 244 before tea before Dean Elgar (46 not out) and JP Duminy (36 not out) combined for an unbroken 59-run stand to steady the innings after two early wickets in the final session. South Africa was 104 for two at stumps having fought back strongly after Australia had dominated the first day. Vernon Philander took 4-56, teaming up brilliantly with debutant left-arm spinner Keshav Maharaj (3-56) as Australia lost 10 wickets for 84 runs after resuming in the morning at 105 without loss. "A few of us probably have to look at ourselves in the mirror and say why did we play those shots?," opening batsman David Warner said of a collapse that included four ducks. Rising pace talent Kagiso Rabada took three wickets, with Steyn grabbing the first of the day to deny Warner a century. The Australian vice captain and opener Shaun Marsh pushed Australia to 158 before Steyn had Warner caught in the slips for 97. Steyn exited in his following over but it did little to break the Proteas' focus, with Rabada bowling Usman Khawaja for four and Maharaj grabbing a memorable first wicket, trapping Steven Smith lbw for a duck as the captain skipped down the wicket. Marsh was given out lbw in the final over before lunch and the rot continued after the break. Bowling a tight line and length, Philander and Maharaj ratcheted up the pressure with three straight maidens before Mitchell Marsh succumbed for an eight-ball duck. Adam Voges showed some resistance but Rabada caught a leading edge off his own bowling to dismiss him for 27. Mitchell Starc lasted only six balls before holing out for a duck off Maharaj, driving to South Africa captain Faf du Plessis at midwicket. Wicketkeeper Peter Nevill managed 23 before Josh Hazlewood (4) and Nathan Lyon, the fourth duck of the innings, fell quickly to wrap up the Australian innings. Shaun Marsh took a sharp catch at midwicket to dismiss Stephen Cook for 12 off paceman Peter Siddle and Josh Hazlewood bowled Hashim Amla for one, having dismissed him for a duck in the first innings. But Elgar and Duminy stood firm in the last hour to complete a fine day for South Africa and give the tourists hope of setting a big target on day three. — Reuters Scoreboard South Africa (1st innings) 242 Australia (1st innings) D. Warner c Amla b Steyn 97 S. Marsh lbw b Philander 63 U. Khawaja b Rabada 04 S. Smith lbw b Maharaj 00 A. Voges c and b Rabada 27 M. Marsh lbw b Philander 00 P. Nevill c Amla b Maharaj 23 M. Starc c du Plessis b Maharaj 00 P. Siddle not out 18 J. Hazlewood c Duminy b Philander 04 N. Lyon c Elgar b Philander 00 Extras (lb3, nb5) 08 Total (all out, 70.2 overs) 244 Falls: 1-158 (Warner), 2-167 (Khawaja), 3-168 (Smith), 4-181 (S Marsh), 5-181 (M Marsh), 6-202 (Voges), 7-203 (Starc), 8-232 (Nevill), 9-243 (Hazlewood), 10-244 (Lyon). Bowling: Steyn 12.4-3-51-1, Philander 19.2-2-56-4 (3nb), Rabada 20-1-78-2 (2nb), Maharaj 18.2-5-56. South Africa (2nd innings) S. Cook c S Marsh b Siddle 12 D. Elgar not out 46 H. Amla b Hazlewood 01 JP. Duminy not out 34 Extras (lb5, w5, nb1) 11 Total (2 wickets, 40 overs) 104 Falls: 1-35 (Cook), 2-45 (Amla). Bowling: Starc 9-4-18-0, Hazlewood 10-2-31-1 (1nb), Siddle 8-4-12-1, Marsh 4-1-11-0 (5w), Lyon 9-2-27-0.