The heavily-armed militants, who arrived on an auto rickshaw, attacked the students' hostel of the Directorate of Agriculture Extension on the University Road in the city, the capital of the restive Khyber-Pakhtunkhwa province.
Both police and military officials said the attackers had been coordinating with handlers based in Afghanistan.
Pakistan media Geo news reported that three attackers, with their faces covered, entered the Directorate, located next to the University of Agriculture, and started firing. Some were shot and wounded while others jumped out of the windows, the witness said.
There were about 20 people including the students in the University as it had remained closed today due to Eid Miladun Nabi. The compound includes a hostel facility for diploma students and there were around 100 people there at the time of attack, police said. The university hostel usually houses almost 400 students, but most had gone home for a long holiday weekend and only about 120 students remained.
Taliban militants stormed a training institute in Pakistan's northwestern city of Peshawar Friday, as the country marked the birthday of the Prophet Mohammed.
Yugoslavian war criminal 'takes poison' to end hearing at United Nations court
Set up by mandate of the UN Security Council in 1993, the ICTY is due to close when its mandate expires at the end of the year. Some of his convictions for actions in the later years of the conflict were overturned, but his sentence was not.
Asus Zenfone Max Plus (M1) with full-view display unveiled: Specifications, features
The Zenfone Max Plus (M1 ) is backed by a 4,130mAh battery, and Asus claims it can deliver up to 26 hours of talktime on 3G. The front gets an 8MP selfie shooter with a f/2.0 aperture and 85-degree wide angle lens that helps take group selfies.
Antonio Conte Pleased With Eden Hazard's Performance As A Striker
He added: "He is one of the best goalkeepers in the world and has a great potential". "It will be very important to have them available and then to have rotation".
"We were sleeping when we heard gunshots".
The Tehreek-e-Taliban Pakistan (TTP) group claimed responsibility for the attack. "I got up and within seconds everybody was running and shouting, "The Taliban have attacked", he told Reuters. In it, one of the gunmen raced into a building and firing his weapon as he went room to room searching for students.
According to Hayatabad Medical Complex Director Shahzad Akbar, six dead and 18 injured were brought to the hospital.
Police officers said that five people were rushed to hospital with injuries.
The attack also bore striking similarities to a 2014 Taliban massacre at the army-run school in Peshawar that killed 151 people, mostly schoolchildren.