shùn​shuǐ​tuī​chuán

to take advantage of a situation