whatever it takes

noun
Graduate
1

Anything, including measures which may be extreme or wrongful, that is required to achieve an objective.