potshot
pat shat
noun
1. a shot fired randomly at game, especially in disregard of hunting laws or the rules of the sport.
2. a shot fired at close range or at an easy target.
Metaphorical senses…
3. a random attack or criticism, often directed at someone or something that is convenient or relatively defenseless.
example: The senators took potshots at the lame duck administration.
4. a casual and ineffective action or attempt.
example: Their potshots at solving the problem accomplished nothing.