by any means, fair or foul
Used when someone is willing to use any method, even unethical ones, to achieve a goal. Often carries a negative connotation.
He acts by any means necessary for money.
Some people proceed without choosing their means for the sake of their goal.