Whoever sets a spring gun, pitfall, deadfall, snare, or other like dangerous weapon or device may be sentenced to imprisonment for not more than six months or to payment of a fine of not more than $1,000, or both.