Armed group attacks police posts, captures weapons