Australia's pace attack took control of the first day-night Test in Brisbane, leaving Pakistan reeling at 97 for eight at the close of day two on Friday, still 133 runs short of avoiding the follow-on.
On a manic day of pink ball cricket, 15 wickets tumbled at the Gabba but rookie batsman Peter Handscomb stood firm to score a maiden century in his second Test and drove Australia to an imposing first innings total of 429.
Pakistan wicket-keeper Sarfraz Ahmed showed defiance wanting in his team mates to be unbeaten on 31 at stumps, with tail-ender Mohammad Amir eight not out.
Bruised after an opening day in which Australia piled on 288-3, Pakistan's seamers battled hard to drag their side into the game, but their batting team mates froze in the flood-lights of the final session.
Having moved to 43-1 after a cautious first hour, Pakistan lost five for 13 in a hurry as Mitchell Starc, Josh Hazlewood and Jackson Bird combined in a devastating pace assault.
Hazlewood and Starc had three wickets apiece, with Bird grabbing two for a miserly seven runs from his nine overs.
Starc struck first in the fifth over to remove Azhar Ali for five when the opener edged a lead-footed drive to the slips where Usman Khawaja dived forward and to his left to take a fine, low catch.
Number three batsman Babar Azam and opener Sami Aslam dug in for an hour before Hazlewood had Babar caught behind for 19.
Younus Khan was caught behind for a duck off Hazlewood and captain Misbah-ul-Haq (four) and Ashad Shafiq (two) joined him in the dressing room shortly after.
[caption id="attachment_40422" align="aligncenter" width="768"]
Australia's Josh Hazlewood takes the catch to dismiss Pakistan's Wahab Riaz AFP
Wahab Riaz and Yasir Shah managed only one run apiece before Sarfraz and Amir showed fight in their late 30-run stand.
Although Wahab and Amir earlier finished with four wickets apiece to limit Australia to 429, it was another poor day in the field for Pakistan, with two dropped catches.
Handscomb, however, needed no reprieves in his determined 240-ball knock.
Sharing in a 172-run partnership with captain Steve Smith, the 25-year-old rookie's innings was all the more impressive as wickets tumbled around him.
He hammered leg-spinner Yasir Shah over the long-on boundary for six to move to 97, then completed his ton in style, smashing a square drive off seamer Amir for four.
He was bowled after tea by Wahab, chopping onto his stumps, but Pakistan were further frustrated by a feisty 10th wicket stand of 49 runs between Nathan Lyon (29) and Bird (19 not out).
Australia 429 in 130.1 overs
(Smith 130, Handscomb 105, Riaz 4/89) lead Pakistan 97/8 in 43 overs
(Sarfraz 31*, Hazlewood 3/19, Starc 3/45) by 332 runs