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)