Language:
Free Online Dictionary|3Dict

打草惊蛇

Source : CEDICT

to stomp the grass to scare the snake/to inadvertently alert an enemy/to punish sb. as a warning to others (idiom)