by hook or by crook

[by hook or by crook] {adv. phr.} By honest ways or dishonest in any way necessary.

The wolf tried to get the little pigs by hook or by crook.

The team was determined to win that last game by hook or by crook, and three players were put out of the game for fouling.