Shakib Al Hasan became the first Bangladesh player to take six wickets and score a hundred in a Test, but he had little support from his team as they ended day four of the second Test against Pakistan staring in the face of defeat yet again.

After bowling Pakistan out for 470 shortly before tea, the home side ended Tuesday's play on 114 for five, still 18 runs shy of making their opposition bat again.

In bowling Pakistan out, former skipper Shakib took six for 108, but it proved a one-man show as the seamers struggled to take wickets and keep the runs down.

Beginning day four on 292 for three, Pakistan were expected to target quick runs in the morning session with the aim of declaring and giving themselves adequate time to setup a result.

However, the wicket of Younis Khan curtailed those plans slightly as Asad Shafiq chose to play a more cautious innings along with his captain Misbah-ul-Haq who is traditionally not a risky batsman at the best of times.

Former captain Khan added just a single to his overnight score as he took a thin edge off an Elias Sunny delivery and ended up one run shy of what would have been his 26th half-century.

Skipper Misbah meanwhile compiled a composed innings at the Shere Bangla National Stadium as he went to his 14th Test fifty. The 37-year-old was eventually sent back to the pavilion for 70 when he was caught by Mahmudullah off the spin of Shakib.

As has happened in recent months with the Bangladesh team, the fielding was not on the level it should be and two chances went down in the morning session. Robiul Islam grassed a relatively easy chance at mid-on, while Mahmudullah was also guilty of putting one doen in the slips.

Despite the two wickets going down, Shafiq quietly went about getting the runs and ended the morning session on 42 not out, but got out immediately after the break as he was lbw to Robiul Islam.

Adnan Akmal then had to push on and bat with the tail, but he did a great job to bring up his maiden Test half-ton. The wicketkeeper was eventually the last man out as he got himself stumped by Mushfiqur Rahim of Shakib's bowling.

With a deficit of 132, Bangladesh got off to a cracking start with Tamim Iqbal smashing five boundaries on his way 21, but his luck soon ran out as he was dismissed in controversial fashion.

The left-hander went on the hook to a short Umar Gul delivery which pinned him on the head and looped over to Misbah who took the catch at first slip. Iqbal thought nothing of it, but expressed utter shock when he saw umpire Billy Doctrove's finger go up.

Bangladesh's second wicket fell the very next ball as Gul trapped Shariar Nafees plumb in front to leave Bangladesh on 24 for two and himself on a hat-trick at the start of the final session of the day.

Mahmudullah survived the hat-trick ball and looked solid at the crease for his 32. The Bangladesh vice-captain shared in a 30-run partnership with Nazimuddin, but the opener's resistance ended when he was bowled by Abdur Rehman for 12.

As he did in the first innings, Aizaz Cheema rocked the Bangladesh top order when he accounted for the wickets of Mahmudullah and Shakib - caught by Rehman and Azhar Ali respectively.

At 95 for five it looked like Bangladesh's batting would fold, but Nasir Hossain knuckled down to grind out an unbeaten 30, while skipper Mushfiqur was not out on seven when stumps was called with the home side on 114 for five.