By
Pakistan had earlier been dismissed for 315 in their first innings in reply to Australia's 538-8 declared.
The hosts did not enforce the follow-on and David Warner (55) scored the second quickest half century in test history in 23 balls with Steve Smith (59), Usman Khawaja (79 not out) and Peter Handscomb (40 not out) also pouring on the runs.
Australia lead the three-test series 2-0.