Pakistan were set an imposing victory target of 317 runs on the fourth day of the second test on Friday after bowling Australia out for 262 before lunch.
Australia had recovered from 16 for four after lunch on Thursday to resume on 187-6 on a sunny morning at the Melbourne Cricket Ground (MCG).
Alex Carey scored his sixth test half century with a knock of 52 to help extend the lead before he was trapped leg before by seamer Mir Hamza (4-32) to bring an end to the innings.
Pakistan made 264 in their first innings and will be up against it chasing down the target given the form of Pat Cummins and the Australian pace attack.
The tourists were dismissed for 89 in the fourth innings as Australia won the first test in the three-match series by 360 runs in Perth two weeks ago.
The highest successful fourth-innings run chase at the MCG was the 332 England scored back in 1928-29.


Alexandrova sets up semi-finals clash with Baptiste at Mubadala Abu Dhabi Open
France defeats Ireland with strong performance in Six Nations opener
North Korea holds national winter games as it sits out Winter Olympics
Ruthless Man City thump Newcastle to reach League Cup final
Ethara named F1 promoter of the year
