take a potshot/potshots
take a ˈpotshot/ˈpotshots (at somebody/something)(informal)
1 fire at somebody without aiming carefully: Somebody took a potshot at him as he drove past.
2 criticize somebody suddenly and without thinking: The newspapers took potshots at his attempts to get into the movie business.This was originally a shot fired from a close distance to kill an animal for food (for the pot). As the shot required no skill it broke the rules of sport.