A spring-gun, booby trap gun etc. is a gun, often a shotgun, rigged to fire when a string or other triggering device is tripped by contact of sufficient force to "spring" the trigger so that anyone stumbling over or treading on it would discharge the gun. Setting or maintaining a spring-gun is illegal in many places.