Australia lost its first four wickets for 16 runs in its second innings but a 153-run stand between Steve Smith and Mitchell Marsh had the hosts in a good position with two days to play in the second cricket test against Pakistan.
Marsh was out for 96 and Smith for 50 to leave Australia at 187-6 at stumps on December 28 and with a 241-run lead going into the fourth day at the Melbourne Cricket Ground.
Marsh fell just short of his fourth test century after Salman Ali Agha hung onto a spectacular diving catch in the slips. Smith battled his way to his first test 50 since the Ashes from 176 balls, the second-slowest half-century of his career.