by hook or by crook

By hook or by crook is a phrase which is referring to something happening with any means necessary, including possible illegal and foul means. By hook or by crook means either by fair or foul, in other words, they will get the job done no matter what it takes whether good or bad. The phrase is used most often in older crime solving and cop shows or movies about detectives solving a crime.