The Taliban forces said they attacked Pakistani army at the border between Afghanistan and Pakistan in retaliation for deadly strikes earlier this week, capturing several army outposts.