what is it

anyone ever seen one of these before i bought it at a estate sale, and the guy said it was a flag holder lol it accepts a 20 guage shell and has trip wire strung towards muzzle i nailed to a post and rerouted string way far off around building for test fire and it works like a charm i havent seen anything like it and neither does anyone i know including some pawnshops that deal in older firearms